[ubuntu-mono] [Bug 717850] Re: Cannot start banshee: System.DllNotFoundException: libgtk-x11-2.0.so.0

mcelrath bob+launchpad at mcelrath.org
Sun May 22 16:42:34 UTC 2011


I have this problem too, also on x86_64 also recently upgrade Maverick
-> Natty.  I disagree with the previous comment.  Removing all libGL*
and fglrx* did not help.

>From the attached log, I think the real error is this one:

Mono-INFO: DllImport attempting to load: 'libgtk-x11-2.0.so.0'.
Mono-INFO: DllImport loading library: '/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/libgtk-x11-2.0.so.0.so'.
Mono-INFO: DllImport error loading library '/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/libgtk-x11-2.0.so.0.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading location: 'libgtk-x11-2.0.so.0.so'.
Mono-INFO: DllImport error loading library: 'libgtk-x11-2.0.so.0.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libgtk-x11-2.0.so.0'.
Mono-INFO: DllImport error loading library '/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_cclosure_marshal_VOID__VARIANT'.

FYI according to strace, it does correctly find libgtk-x11-2.0.so.0:

$ strace -e trace=open banshee 2>&1 | grep libgtk-x11-2.0.so.0\"
open("/usr/lib/banshee/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/banshee/Extensions/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/banshee/Backends/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgtk-x11-2.0.so.0", O_RDONLY) = 6
open("/usr/lib/banshee/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/banshee/Extensions/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/banshee/Backends/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgtk-x11-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgtk-x11-2.0.so.0", O_RDONLY) = 6


** Attachment added: "MONO_LOG_LEVEL=debug log"
   https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/717850/+attachment/2138668/+files/banshee_mono_debug.log

** Changed in: banshee (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/717850

Title:
  Cannot start banshee: System.DllNotFoundException: libgtk-x11-2.0.so.0

Status in “banshee” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: banshee

  Obviously, I do have gtk 2 installed.

  toby at leopard:~$ banshee
  [Info  19:25:45.355] Running Banshee 1.9.2: [Ubuntu natty (development branch) (linux-gnu, x86_64) @ 2011-01-24 15:22:39 UTC]
  Exception has been thrown by the target of an invocation.
  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: libgtk-x11-2.0.so.0
    at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
    at Gtk.Application.Init () [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient.InitializeGtk () [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0 
    at Nereid.Client..ctor () [0x00000] in <filename unknown>:0 
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    --- End of inner exception stack trace ---
    at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 
    at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 
    at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0 
    at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 

  Unhandled Exception: System.DllNotFoundException: libgtk-x11-2.0.so.0
    at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
    at Gtk.Application.Init () [0x00000] in <filename unknown>:0 
    at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient.Startup[Client] () [0x00000] in <filename unknown>:0 
    at Banshee.Gui.GtkBaseClient.Startup[Client] (System.String[] args) [0x00000] in <filename unknown>:0 
    at Nereid.Client.Main (System.String[] args) [0x00000] in <filename unknown>:0 
    at (wrapper managed-to-native) System.AppDomain:ExecuteAssembly (System.Reflection.Assembly,string[])
    at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in <filename unknown>:0 
    at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in <filename unknown>:0 
    at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
    at System.AppDomain.ExecuteAssembly (System.String assemblyFile) [0x00000] in <filename unknown>:0 
    at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string)
    at Booter.Booter.BootClient (System.String clientName) [0x00000] in <filename unknown>:0 
    at Booter.Booter.Main () [0x00000] in <filename unknown>:0

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: banshee 1.9.2-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
  Uname: Linux 2.6.38-1-generic x86_64
  NonfreeKernelModules: wl
  Architecture: amd64
  CheckboxSubmission: cb8560608953d46833a1bf646e78598a
  CheckboxSystem: d00f84de8a555815fa1c4660280da308
  Date: Sat Feb 12 19:26:06 2011
  EcryptfsInUse: Yes
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   LANG=en_GB.utf8
   LC_MESSAGES=en_GB.utf8
   SHELL=/bin/bash
  SourcePackage: banshee



More information about the Ubuntu-mono mailing list