[Mono-list] P/Invoke on amd64 was :Marshalling problems
Michal Moskal
Michal Moskal <michal.moskal@gmail.com>
Sun, 13 Feb 2005 12:41:07 +0100
On Sun, 13 Feb 2005 10:44:20 +0000, James Fitzsimons
<james.fitzsimons@gmail.com> wrote:
> Finally, you should try running mono with MONO_LOG_LEVEL=info and
> > MONO_lOG_MASK=dll.
> When I try to run the curses example with logging on I get the following:
> Mono-INFO: DllImport loading: 'libncurses'.
> Mono-INFO: DllImport error loading library '/usr/lib/libncurses.so:
> invalid ELF header'.
Just a wild guess -- maybe you gmodule library is not compiled with 64
bit support.
> And with my open computer vision program:
> Mono-INFO: DllImport loading: 'libopencv'.
> Mono-INFO: DllImport error loading library '/usr/local/lib/libopencv.so:
> undefined symbol: __gxx_personality_v0'.
This seems like another problem -- check if your libopencv is linked
with libstdc++.
--
: Michal Moskal :: http://nemerle.org/~malekith/ :: GCS !tv h e>+++ b++
: Logic - the art of being wrong with confidence :: UL++++$ C++ E--- a?