[Mono-list] DllNotFoundException Woes

R. Tyler Ballance tyler at bleepconsulting.com
Tue Jan 16 20:47:18 EST 2007


On Jan 16, 2007, at 7:08 PM, Robert Jordan wrote:

> Try "ldd /usr/local/ansa/bin/libAsset.so". Maybe it's missing some
> references. If not, you may trace Mono's native lib loader with
>
> MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll mono yourapp.exe


ldd(1) did the trick. I absolutely hate the Linux version of DLL Hell.

it wasn't finding librpm-4.4.so, instead of trying to link against  
librpm-4.1.so.

Adjusting the MONO_LOG_LEVEL also helped point out the error, I'll  
have to backlog this into memory next time DllNotFoundExcetion's pop up.


Thanks :)


R. Tyler Ballance: Custom Mac and Linux Development at bleep. consulting
contact: tyler at bleepconsulting.com | jabber: tyler at jabber.geekisp.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070116/1a6201bc/attachment.html 


More information about the Mono-list mailing list