[Mono-dev] DllImports cannot load an .so that references another .so (on Ubuntu)

hpavlov hristo_dpavlov at yahoo.com
Wed Nov 28 05:54:26 UTC 2012


Just for completeness, the Deployment Guidelines on the Mono web site suggest
setting the /LD_LIBRARY_PATH/ before running the application:

http://www.mono-project.com/Guidelines:Application_Deployment#Layout_Recommendation

while article about dealing with library loading issues again on the Mono
web site:

http://www.mono-project.com/DllNotFoundException

suggests quite the oposite - that using /LD_LIBRARY_PATH/ is not
recommended.

So in addition to my original question, which one is actually the
recommended approach and if /LD_LIBRARY_PATH/ is not recommended then how to
handle my case of unmanaged library referencing another unmanaged library?



--
View this message in context: http://mono.1490590.n4.nabble.com/DllImports-cannot-load-an-so-that-references-another-so-on-Ubuntu-tp4657554p4657558.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list