[Mono-devel-list] Problem with accessing C library from MONO
Muthiah Annamalai
dearestchum at yahoo.co.in
Fri Jul 29 07:30:08 EDT 2005
Hi!
Im trying to access C library from MONO/C#.
The error I get when trying to access the code is:
------------------------------------------------
muthu at localhost ~/g2-0.70/mono/src ] make
mcs --unsafe --target library g2.cs -o g2.dll
Compilation succeeded
muthu at localhost ~/g2-0.70/mono/src ] make test
mcs -r:g2.dll simple-g2.cs
Compilation succeeded
mono simple-g2.exe
Unhandled Exception: System.DllNotFoundException:
libg2
in <0x00053> (wrapper managed-to-native)
Mono.G2.G2:g2_open_X11 (int,int)
in <0x00015> Mono.G2.G2:OpenX11 (int,int)
in <0x00018> G2Test:Main (string[])
make: *** [test] Error 1
------------------------------------------------------
Basically I tried variations of the libg2.so
libg2.so.0.0.70 etc, and updates the ldconf.so cache,
but Im wondering where I couldve been wrong.
My problem I think is with Installation.
Can someone please help me?
Thanks,
Muthu.
PS: someone just said I Love Mono.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the Mono-devel-list
mailing list