Re: [Ikvm-developers] undefined symbol: g_module_open
Brought to you by:
jfrijters
|
From: Jim R. <jr...@er...> - 2008-05-17 15:44:21
|
Jeroen,
I _think_ that this is a build problem.
The .so that was installed on FC8 (yum, rpm??) has this profile:
[jim@localhost mono]$ ldd /usr/lib/libikvm-native.so
linux-gate.so.1 => (0x00110000)
libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x00116000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x0011a000)
libdl.so.2 => /lib/libdl.so.2 (0x001e4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x001e9000)
libm.so.6 => /lib/libm.so.6 (0x00202000)
libc.so.6 => /lib/libc.so.6 (0x0022b000)
/lib/ld-linux.so.2 (0x00b93000)
the .so that is built with "nant -t:mono-1.0 classpath"
has this profile.
[jim@localhost mono]$ ldd
/home/jim/Development/ikvm/ikvm-0.36.0.11/native/libikvm-native.so
linux-gate.so.1 => (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x00117000)
/lib/ld-linux.so.2 (0x00b93000)
without the libgmodule reference, which I think is the cause of the problem.
Any thoughts on how to fix this?
Thanks,
Jim
Jeroen Frijters wrote:
> Hi Jim,
>
> This is really way outstide of my area of expertise. Googling found this similar error on Ubuntu x64:
> https://bugs.launchpad.net/ubuntu/+source/mono/+bug/220935
>
> I would try asking on the Mono list.
>
> Regards,
> Jeroen
>
>> -----Original Message-----
>> From: ikv...@li... [mailto:ikvm-
>> dev...@li...] On Behalf Of Jim Redman
>> Sent: Friday, May 16, 2008 19:59
>> Cc: ikv...@li...
>> Subject: [Ikvm-developers] undefined symbol: g_module_open
>>
>> Can anyone shed any light on this? We have code that uses RXTX, and so
>> the RXTX native library. Code has been run through IKVMC. This 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
>>
>> It seems this may be a problem with later versions of Mono, that is, I
>> think that this problem does not exist with, say 1.2.6, but haven't
>> confirmed that yet.
>>
>> Any thoughts? Ideas?
>>
>> Thanks,
>>
>> Jim
>>
>> --
>> Jim Redman
>> (505) 662 5156 x85
>> http://www.ergotech.com
>>
>> -----------------------------------------------------------------------
>> --
>> This SF.net email is sponsored by: Microsoft Defy all challenges.
>> Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Ikvm-developers mailing list
>> Ikv...@li...
>> https://lists.sourceforge.net/lists/listinfo/ikvm-developers
--
Jim Redman
(505) 662 5156 x85
http://www.ergotech.com
|