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
output attached.
- 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:
[EMAIL PROTECTED] dltest]$ ll
/home/rengeo/RenegadeGeophysics/SeismicStudioLinux64/lib/
total 992
-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
[EMAIL PROTECTED] dltest]$ ./dltest
/home/rengeo/RenegadeGeophysics/SeismicStudioLinux64/lib/libSentinelKeys32.so
error loading library
`/home/rengeo/RenegadeGeophysics/SeismicStudioLinux64/lib/libSentinelKeys32.so':
/home/rengeo/RenegadeGeophysics/SeismicStudioLinux64/lib/libSentinelKeys32.so:
cannot open shared object file: No such file or directory
[EMAIL PROTECTED] 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
there.
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.
http://www.rengeo.com/linux/yaay.txt
Thanks for your help.
Eric Morgan
Renegade Geophysics
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list