Re: FSPOT error :Sysem.DllNotFoundException:libgobject-2.0-0.dll



On Wed, 2008-08-20 at 16:05 +0530, svalbard colaco wrote:
> Hi ,
> 
> I have my f-spot.exe and f-spot.exe.config in /usr/lib/f-spot/
> 
> And the following are the contents of my f-spot.exe.config
> <configuration>
> 
>   <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
>   <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
> 
>   <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
>   <dllmap dll="libgdk-2.0-0.dll" target="libgdk-x11-2.0.so.0"/>
>   <dllmap dll="libgdk_pixbuf-2.0-0.dll"
> target="libgdk_pixbuf-2.0.so.0"/>
>   <dllmap dll="libgnomevfs-2-0.dll" target="libgnomevfs-2.so.0"/>
>   <dllmap dll="libgnomeui-2-0.dll" target="libgnomeui-2.so.0"/>
>   <dllmap dll="libfspot" target="/usr/lib/f-spot/libfspot.so.0"/>
>   <dllmap dll="libfspoteog"
> target="/usr/lib/f-spot/libfspoteog.so.0"/>
>   <dllmap dll="libfspotjpeg"
> target="/usr/lib/f-spot/libfspotjpg.so.0"/>
>   <dllmap dll="liblcms-1.0.0.dll" target="liblcms.so.1"/>
>   <dllmap dll="libexif.dll" target="libexif.so.12"/>
> </configuration>
> 
> Does the configuaration file need to be changed? as in the following
> <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/> 
no
> Does the "target" needs the absolute path?
no, if the files are in the LD library path

once again, you shouldn't install f-spot this way, you're looking for
problems

s
> 
> And what could be the MONO_PATH set to ?
> 
> And the other config files are in /usr/lib/mono/gac/gtk-sharp or
> glade-sharp etc...
> 
> Regards,
> sv.
> 
> On Wed, Aug 20, 2008 at 3:51 PM, Stephane Delcroix
> <stephane delcroix org> wrote:
>         On Wed, 2008-08-20 at 14:00 +0530, svalbard colaco wrote:
>         > Hi Stephane ;
>         >
>         > I installed f-spot-0.4.4 by doing a yum install
>         > --installroot=/home/f-spot i.e a local install;
>         
>         > Then i have put these binaries obtained on another FC6 Linux
>         machine;
>         
>         even if that's not a supported way to install stuffs, I'd say
>         you forgot
>         to copy f-spot.exe.config along with f-spot.exe (could be the
>         same for
>         other .config files)
>         
>         s
>         
>         
>         
>         >  to get it working ;
>         > but it fails;giving the earlier mentioned errors.
>         >
>         > I have used starce and debugged f-spot; but the same error
>         cropps up.
>         > I have also checked the gtk-sharp.dll.config file  which
>         shows the dll
>         > map for libgobject-2.0-0.dll is a libgobject-2.0.so which
>         shows that
>         > it is already found in the strace.
>         >
>         > Please help;
>         >
>         > Thanks & regards
>         > sv.
>         >
>         > On Wed, Aug 20, 2008 at 1:47 PM, Stephane Delcroix
>         > <stephane delcroix org> wrote:
>         >         how did you installed it ?
>         >         - from a package?: which distro
>         >         - compiling it by hand ?
>         >         - copied the .exe from one machine to another ?
>         >
>         >         s
>         >
>         >
>         >
>         >
>         >         On Wed, 2008-08-20 at 11:46 +0530, svalbard colaco
>         wrote:
>         >         > Hi I have been trying to run f-spot and i get the
>         following
>         >         error
>         >         > System.DllNotFoundException: libgobject-2.0-0.dll
>         >         >   at (wrapper managed-to-native)
>         Gnome.Program:g_type_init
>         >         ()
>         >         >
>         >         >   at Gnome.Program..ctor (System.String app_id,
>         >         System.String app_version, Gnome.ModuleInfo module,
>         >         System.String[] argv, System.Object[] props)
>         [0x00000]
>         >         >
>         >         >
>         >         > Unhandled Exception: System.DllNotFoundException:
>         >         libgtk-win32-2.0-0.dll
>         >         >
>         >         >   at (wrapper managed-to-native)
>         Gtk.Application:gtk_init
>         >         (int&,intptr&)
>         >         >   at Gtk.Application.Init () [0x00000]
>         >         >   at FSpot.Driver.Main (System.String[] args)
>         [0x00000]
>         >         >
>         >         >
>         >         > I tried debugging using
>         >         > MONO_LOG_LEVEL=debug mono f-spot.exe
>         >         >
>         >         > And the following is the part of the error log
>         >         >
>         >         > Mono-INFO: DllImport attempting to load:
>         >         'libgobject-2.0-0.dll'.
>         >         >
>         >         > Mono-INFO: DllImport loading location:
>         >         'libgobject-2.0-0.dll'.
>         >         > Mono-INFO: DllImport error loading library:
>         >         'libgobject-2.0-0.dll: cannot open shared object
>         file: No such
>         >         file or directory'.
>         >         > Mono-INFO: DllImport loading library:
>         >         './libgobject-2.0-0.dll'.
>         >         >
>         >         > Mono-INFO: DllImport error loading library
>         >         './libgobject-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         > Mono-INFO: DllImport loading:
>         'libgobject-2.0-0.dll'.
>         >         > Mono-INFO: DllImport error loading library
>         >         'libgobject-2.0-0.dll: cannot open shared object
>         file: No such
>         >         file or directory'.
>         >         >
>         >         > Mono-INFO: DllImport loading location:
>         'libgobject-2.0-0'.
>         >         > Mono-INFO: DllImport error loading library:
>         >         'libgobject-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         > Mono-INFO: DllImport loading library:
>         './libgobject-2.0-0'.
>         >         >
>         >         > Mono-INFO: DllImport error loading library
>         >         './libgobject-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         > Mono-INFO: DllImport loading: 'libgobject-2.0-0'.
>         >         > Mono-INFO: DllImport error loading library
>         >         'libgobject-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         >
>         >         >
>         (/tmp/mnt/psas/csa/PSA4/usr/lib/f-spot/f-spot.exe:12050):
>         >         Mono-WARNING **: DllImport unable to load library
>         >         'libgobject-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         > System.DllNotFoundException: libgobject-2.0-0.dll
>         >         >
>         >         >   at (wrapper managed-to-native)
>         Gnome.Program:g_type_init
>         >         ()
>         >         >   at Gnome.Program..ctor (System.String app_id,
>         >         System.String app_version, Gnome.ModuleInfo module,
>         >         System.String[] argv, System.Object[] props)
>         [0x00000]
>         >         >
>         >         >
>         >         >
>         >         >
>         >         > Mono-INFO: DllImport attempting to load:
>         >         'libgtk-win32-2.0-0.dll'.
>         >         > Mono-INFO: DllImport loading location:
>         >         'libgtk-win32-2.0-0.dll'.
>         >         > Mono-INFO: DllImport error loading library:
>         >         'libgtk-win32-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         >
>         >         > Mono-INFO: DllImport loading library:
>         >         './libgtk-win32-2.0-0.dll'.
>         >         > Mono-INFO: DllImport error loading library
>         >         './libgtk-win32-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         > Mono-INFO: DllImport loading:
>         'libgtk-win32-2.0-0.dll'.
>         >         >
>         >         > Mono-INFO: DllImport error loading library
>         >         'libgtk-win32-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         > Mono-INFO: DllImport loading location:
>         'libgtk-win32-2.0-0'.
>         >         > Mono-INFO: DllImport error loading library:
>         >         'libgtk-win32-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         > Mono-INFO: DllImport loading library:
>         >         './libgtk-win32-2.0-0'.
>         >         > Mono-INFO: DllImport error loading library
>         >         './libgtk-win32-2.0-0: cannot open shared object
>         file: No such
>         >         file or directory'.
>         >         > Mono-INFO: DllImport loading:
>         'libgtk-win32-2.0-0'.
>         >         >
>         >         > Mono-INFO: DllImport error loading library
>         >         'libgtk-win32-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         >
>         (/tmp/mnt/psas/csa/PSA4/usr/lib/f-spot/f-spot.exe:12050):
>         >         Mono-WARNING **: DllImport unable to load library
>         >         'libgtk-win32-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         > Mono-INFO: DllImport attempting to load:
>         >         'libgtk-win32-2.0-0.dll'.
>         >         > Mono-INFO: DllImport loading location:
>         >         'libgtk-win32-2.0-0.dll'.
>         >         > Mono-INFO: DllImport error loading library:
>         >         'libgtk-win32-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         >
>         >         > Mono-INFO: DllImport loading library:
>         >         './libgtk-win32-2.0-0.dll'.
>         >         > Mono-INFO: DllImport error loading library
>         >         './libgtk-win32-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         > Mono-INFO: DllImport loading:
>         'libgtk-win32-2.0-0.dll'.
>         >         >
>         >         > Mono-INFO: DllImport error loading library
>         >         'libgtk-win32-2.0-0.dll: cannot open shared object
>         file: No
>         >         such file or directory'.
>         >         > Mono-INFO: DllImport loading location:
>         'libgtk-win32-2.0-0'.
>         >         > Mono-INFO: DllImport error loading library:
>         >         'libgtk-win32-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         > Mono-INFO: DllImport loading library:
>         >         './libgtk-win32-2.0-0'.
>         >         > Mono-INFO: DllImport error loading library
>         >         './libgtk-win32-2.0-0: cannot open shared object
>         file: No such
>         >         file or directory'.
>         >         > Mono-INFO: DllImport loading:
>         'libgtk-win32-2.0-0'.
>         >         >
>         >         > Mono-INFO: DllImport error loading library
>         >         'libgtk-win32-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         >
>         (/tmp/mnt/psas/csa/PSA4/usr/lib/f-spot/f-spot.exe:12050):
>         >         Mono-WARNING **: DllImport unable to load library
>         >         'libgtk-win32-2.0-0: cannot open shared object file:
>         No such
>         >         file or directory'.
>         >         >
>         >         >
>         >         > Unhandled Exception: System.DllNotFoundException:
>         >         libgtk-win32-2.0-0.dll
>         >         >   at (wrapper managed-to-native)
>         Gtk.Application:gtk_init
>         >         (int&,intptr&)
>         >         >   at Gtk.Application.Init () [0x00000]
>         >         >   at FSpot.Driver.Main (System.String[] args)
>         [0x00000]
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >
>         >         > _______________________________________________
>         >         > F-spot-list mailing list
>         >         > F-spot-list gnome org
>         >         > http://mail.gnome.org/mailman/listinfo/f-spot-list
>         >
>         >
>         >
>         
>         
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]