[Mono-list] PINVOKE can't find 32 bit shared library on 64 bit MONO

johnslaby john_m_slaby at raytheon.com
Sat Jun 6 11:30:36 EDT 2009

johnslaby wrote:
> I am trying to use PInvoke in an application. The library is a 32 bit .so.
> When I try to run the app, I get a 'DLL not found' exception. Looking into
> more detail, there is a message in the debug trace 'Wrong base ELF class:
> ELFCLASS32'. Does this mean I either need a 64 bit version of the library
> or a 32 bit version of Mono?

We tested the app on a 32 bit Linux and it worked fine, so I guess we
answered our own question.
View this message in context: http://www.nabble.com/PINVOKE-can%27t-find-32-bit-shared-library-on-64-bit-MONO-tp23895177p23902261.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090606/0ff05587/attachment.html 

More information about the Mono-list mailing list