[Mono-list] [mono-list]DLL Import errors
ehmorgan at gmail.com
Wed Apr 18 12:28:41 EDT 2007
>Frequently the problem is that the library is improperly linked; mono
>(effectively) loads libraries using dlopen(3) with RTLD_NOW set, so if
>your library depends on a symbol from another library but wasn't linked
>against that library, you will get errors loading it.
>You can also use http://www.jprl.com/dltest.c to test this scenario (see
>the comments for compile commands).
>If that still fails, you can reply to the mailing list with the Mono
> - Jon
Still fails, and the output is generally the same from when I was using
MONO_LOG_LEVEL=debug. Here's the output from dltest:
[rengeo at localhost dltest]$ ll
-r-xr-xr-x 1 rengeo rengeo 339956 Apr 17 10:14 libSentinelKeys32.a
-r-xr-xr-x 1 rengeo rengeo 315468 Feb 8 14:42 libSentinelKeys32.so
-r-xr-xr-x 1 rengeo rengeo 328388 Apr 17 12:26 libSentinelKeysJDK.so
[rengeo at localhost dltest]$ ./dltest
error loading library
cannot open shared object file: No such file or directory
[rengeo at localhost dltest]$
The library is clearly there, but both mono and this dltest is saying that
it doesn't exist. I've tried copying the library directly into the folder
with dltest, and it still can't find it, even though is literally right
Here's a link to the MONO_LOG_LEVEL=info output. I uploaded to our website
to cut down the size of this mailing list email.
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list