[MonoDevelop] can't start MonoDevelop (dll not found: gnomesharpglue-2)

Seb James seb at esfnet.co.uk
Sun Sep 25 15:40:59 EDT 2005

On Sun, 2005-09-25 at 20:22 +0200, Zbynek Vrastil wrote:
> Hi all,
> I've just installed Mono version from binary installer package 
> on Debian Testing, x86, into directory /usr/local/mono- When I 
> try to run MonoDevelop, I get following error:
> Unhandled Exception: System.TypeInitializationException: An exception 
> was thrown by the type initializer for Gnome.ModuleInfo ---> 
> System.DllNotFoundException:gnomesharpglue-2
> in (wrapper managed-to-native) 
> Gnome.ModuleInfo:gnomesharp_gnome_moduleinfo_get_name_offset ()
> in <0x00008> Gnome.ModuleInfo:.cctor ()--- End of inner exception stack 
> trace ---
> in <0x00000> <unknown method>
> in <0x00025> Gnome.Modules:get_UI ()
> in <0x0042a> MonoDevelop.SharpDevelopMain:Main (System.String[] args)
> The library libgnomesharpglue-2.so is correctly installed in 
> /usr/local/mono- LD_LIBRARY_PATH includes the mono library 
> directory. I have tried to add line
> <dllmap dll="gnomesharpglue-2" target="libgnomesharpglue-2.so"/>
> into /usr/local/lib/monodevelop/bin/MonoDevelop.Base.dll.config as well 
> as into /etc/mono/config, but the error did not change.
> MonoDoc can be started without trouble.
> There are no debian mono packages installed in the system.
> Does anyone know what's wrong?
> thanks in advance, Zbynek

I had exactly this error, and then realised that I'd left my mono lib
directory out of ld.so.conf. I added the directory (in my
case /opt/mono/lib) to ld.so.conf and re-ran ldconfig and the program
runs. I see you have added your mono library path using LD_LIBRARY_PATH,
but all the same, I think the library is being missed by your system.

Hope that's of some help.


Embedded Software Foundry Ltd. 'Embedded Linux Development'
Tel: +44 (0)845 4580277   Web: http://www.esfnet.co.uk/
Axiom Tech Open Source Member: http://www.axiomtech.co.uk/
Gpg key: http://www.esfnet.co.uk/ssl/seb.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20050925/b2cba39f/attachment.bin

More information about the Monodevelop-list mailing list