[MonoDevelop] can't start MonoDevelop (dll not found:
zvrastil at seznam.cz
Mon Sep 26 12:37:24 EDT 2005
Thanks for the info, but unfortunately, something other has to be wrong
on my computer. I have added the library into ld.so.conf and executed
ldconfig. The output of the command
$ldconfig -p | grep gnomesharpglue-2
libgnomesharpglue-2.so (libc6) =>
but the error after running monodevelop is still the same. Any other ideas?
Seb James wrote:
> On Sun, 2005-09-25 at 20:22 +0200, Zbynek Vrastil wrote:
>>I've just installed Mono version 220.127.116.11 from binary installer package
>>on Debian Testing, x86, into directory /usr/local/mono-18.104.22.168/. 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 --->
>>in (wrapper managed-to-native)
>>in <0x00008> Gnome.ModuleInfo:.cctor ()--- End of inner exception stack
>>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-22.214.171.124/lib. 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.
More information about the Monodevelop-list