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

Robert Jordan robertj at gmx.net
Sat May 17 13:31:11 EDT 2008


Jim Redman wrote:
> 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.

You're right. Mono itself does not need gmodule anymore but
libikvm-native.so still depends on it. Do you mind filing a
packaging bug about this at http://www.mono-project.com/Bugs?

Robert

> 
> Jim
> 
> 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.
>>
>> Andreas
>>
>>> 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'.
>>>>
>>>> Robert
>>>>
>>>> _______________________________________________
>>>> Mono-devel-list mailing list
>>>> Mono-devel-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>> -- 
>>> Jim Redman
>>> (505) 662 5156 x85
>>> http://www.ergotech.com
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 



More information about the Mono-devel-list mailing list