[Mono-list] Feodra Core 5 and LD_LIBRARY_PATH

Paddy Joy mono at paddyjoy.com
Thu Apr 6 07:19:44 EDT 2006


Thanks I tried adding /usr/local/lib to /etc/ld.so.conf and running 
ldconfig but it didn't make a difference so for now I have just added 
the lines to my .bash_profile.

Here is the exact error I get (for example when trying to launch 
monodevelop).

Paddy

[paddy at laptop ~]$ monodevelop

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for MonoDevelop.Core.GettextCatalog 
---> System.TypeInitializationException: An exception was thrown by the 
type initializer for Mono.Unix.Native.Stdlib ---> 
System.DllNotFoundException: libMonoPosixHelper.so
in (wrapper managed-to-native) Mono.Unix.Native.Stdlib:GetDefaultSignal ()
in <0x0000c> Mono.Unix.Native.Stdlib:.cctor ()--- End of inner exception 
stack trace ---

in <0x00000> <unknown method>
in <0x00022> Mono.Unix.UnixMarshal:AllocHeap (Int64 size)
in <0x000cf> Mono.Unix.UnixMarshal:StringToHeap (System.String s, Int32 
index, Int32 count, System.Text.Encoding encoding)
in <0x00016> Mono.Unix.UnixMarshal:StringToHeap (System.String s, 
System.Text.Encoding encoding)
in <0x0000f> Mono.Unix.UnixMarshal:StringToHeap (System.String s)
in <0x00031> Mono.Unix.Catalog:MarshalStrings (System.String s1, 
System.IntPtr p1, System.String s2, System.IntPtr p2, System.String s3, 
System.IntPtr p3)
in <0x00038> Mono.Unix.Catalog:Init (System.String package, 
System.String localedir)
in <0x00011> MonoDevelop.Core.GettextCatalog:.cctor ()--- End of inner 
exception stack trace ---

in <0x00000> <unknown method>
in <0x001bd> MonoDevelop.Core.ServiceManager:FetchService (System.Type 
serviceType)
in <0x00019> MonoDevelop.Core.ServiceManager:GetService (System.Type 
serviceType)
in <0x00011> MonoDevelop.Core.AddIns.Setup.SetupService:.ctor ()
in <0x0001f> MonoDevelop.Core.Runtime:get_SetupService ()
in <0x0003a> MonoDevelop.Core.AddIns.AddInService:Initialize ()
in <0x00029> MonoDevelop.Core.Runtime:Initialize ()
in <0x00008> MonoDevelop.Startup.SharpDevelopMain:Main (System.String[] 
args)
[paddy at laptop ~]$



> You only need to set LD_LIBRARY_PATH if you install your libraries in
> locations other than /usr,
> you can also add /usr/local/lib in ld.so.conf and run ldconfig IIRC
>
> On 4/5/06, Paddy Joy <mono at paddyjoy.com> wrote:
>   
>> Whenever I open a terminal window in Fedora Core 5 and want to run
>> monodevelop, mcs or mono I have to to do the following:
>>
>> LD_LIBRARY_PATH=/usr/local/lib
>> export LD_LIBRARY_PATH
>>
>> Never had to do this with FC4, is this a mono thing or a fedora thing?
>> Should I just add these line to my bash profile and forget about it? :-)
>>
>> Paddy
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>     
>
>
> --
> Jonel Rienton
> mailto:jonel at rientongroup.com
> powered by: google
>   



More information about the Mono-list mailing list