Hi! Im trying to access C library from MONO/C#. The error I get when trying to access the code is: ------------------------------------------------ [EMAIL PROTECTED] ~/g2-0.70/mono/src ] make mcs --unsafe --target library g2.cs -o g2.dll Compilation succeeded [EMAIL PROTECTED] ~/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 _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list