[Mono-dev] undefined symbol: g_module_open IKVM Native Library Loading
jredman at ergotech.com
Sat May 17 12:41:38 EDT 2008
I was checking Mono on FC8, not on XScale, sorry for adding that confusion.
When I replace the libikvm-native.so on FC8 with one built using the
IKVM build process, it doesn't reference gmodule and it doesn't word
either. So I can get a consistent failure on different platforms.
I suspect that the libikvm-native.so should reference gmodule, and the
original library that I had on FC8, downloaded as an RPM or YUM package
or similar DID reference it.
However, I also _suspect_ that mono should reference it, and it doesn't
seem to even in the RPM or YUM version. It may, and I just haven't
found the reference, or I could be completely wrong. I don't make any
claim of sufficient expertise to really judge.
Andreas Färber wrote:
> Am 17.05.2008 um 18:10 schrieb Jim Redman:
>> Digging, there also seem to be dependencies on gmodule in mono. Yet I
>> don't think that either the mono executable, or the shared libraries
>> reference the gmodule shared library.
>> Can this possibly be correct. Is there some other shared library that
>> should be expected to pull in gmodule?
> If they don't link to shared glib libraries and since you mentioned
> XScale, it could be that Mono is being linked against its embedded glib
> (eglib) static library.
>> Robert Jordan wrote:
>>> Jim Redman wrote:
>>>> 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?
>>> Your system is probably missing gmodule-2.0, which is usually
>>> part of glib.
>>> Check the output of `ldd /home/MIX_CMIX/libikvm-native.so'.
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>> Jim Redman
>> (505) 662 5156 x85
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
(505) 662 5156 x85
More information about the Mono-devel-list