[Mono-list] Can't get a simple shared object to be used - DllNotFoundException

thomasw234 Thomas.Wormald at sungard.com
Wed Jul 31 07:59:06 UTC 2013


Thanks for all of your replies. Unfortunately I've already tried most of what
was suggested, except modifying LD_LIBRARY_PATH. The only resource that my
shared object is using is stdio.h, do I need to add the path of that?

I've managed to take a screenshot from the machine which hopefully shows
more of what's going on. It's a bit messy unfortunately:

<http://mono.1490590.n4.nabble.com/file/n4660340/Screenshot_from_2013-07-31_08_49_18.png> 

Bottom right terminal - shows the contents of test.c, and it being compiled
to libshared.so. Also shows that libshared.so and Test2.exe are in the same
directory.

Bottom left window - shows the DLLNotFoundException.

Top right window - the output from the c# program

Main window - the code executing in MonoDevelop.

Thanks,
Thomas



--
View this message in context: http://mono.1490590.n4.nabble.com/Can-t-get-a-simple-shared-object-to-be-used-DllNotFoundException-tp4660332p4660340.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list