[Mono-dev] undefined symbol: g_module_open IKVM Native Library Loading

Jim Redman jredman at ergotech.com
Sat May 17 08:56:50 EDT 2008


This seems to not be particularly IKVM related, and it was suggested 
that I post it here. Code is Java code that has been run through IKVMC.

The error occurs loading native libraries.  The call to load native 
libraries is:

	JNIEXPORT void* JNICALL ikvm_LoadLibrary(char* psz)
	{
		return g_module_open(psz, 0);
	}

Platform is on Debian XScale (NSLU2).

Mono Version:

SweetSpace:/home/MIX_CMIX# mono -V
Mono JIT compiler version 1.9.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
         TLS:           normal
         GC:            Included Boehm (with typed GC)
         SIGSEGV:       normal
         Notifications: epoll
         Architecture:  arm
         Disabled:      none


ikvm-0.36.0.11 with the libikvm-native.so build for XScale.

Running the application gets this error about the time in the 
application when I would expect the native library to be loaded.

mono: symbol lookup error: /home/MIX_CMIX/libikvm-native.so: undefined 
symbol: g_module_open

Library loading seems to work on FC8 Mono 1.2.6 with the same IKVM 
version - but, obviously, an X86 .so.

Any thoughts? Ideas?

Thanks,

Jim

-- 
Jim Redman
(505) 662 5156 x85
http://www.ergotech.com


More information about the Mono-devel-list mailing list