[Mono-list] Dll loading failure

Jurek Bartuszek koxta@koxta.net
Thu, 28 Apr 2005 18:36:21 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Mono does not support native code DLLs from Windows when running on Linux.
Are you 100% sure about that?

> I guess mono searches in the current directory. But failing to recognize
> the file format, it says it cannot find (usable) DLL.
Well... I've spent some time before I noticed that I have to export '.'
or `pwd` into LD_LIBRARY_PATH in order to make mono look up the .so file
in current directory. Without that I've been recieving
System.DllNotFoundException either. I wonder if there is an enviroment
variable responsible for listing dll dirs (I tried CSCC_LIB_PATH, but it
didn't work. I think it's a var that is being used by mcs, not mono).

> Only managed code (ones containing IL byte code, not native x86 machine
> code) DLLs will work.
Hm... is there any way to generate such dlls?

Regards,

Jurek Bartuszek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCcREF6l8uJkeTVlMRArn/AJ0ZQHwl6cppfXMG10+fbV3lEa/JswCeINN2
eZVS7F6K3vy76wMoqAKTyTU=
=oulN
-----END PGP SIGNATURE-----