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

Jim Redman jredman at ergotech.com
Sat May 17 16:52:00 EDT 2008


Robert Jordan wrote:
> 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?

Actually, I think that mono does have dependencies.  If look at, say:

./mono-1.9.1/mcs/tools/mono-shlib-cop/mono-shlib-cop.cs

there are a bunch of references to g_module...

Jim

> 
> 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
> 
> _______________________________________________
> 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


More information about the Mono-devel-list mailing list