Re: [gtk-list] /usr/lib/libgtk.so.1: undefined symbol: g_strdelimit



Mika Ritola <foxtrot@sci.fi> writes:

> Why is it that some programs give the above-mentioned error message and
> refuse to run? I have only one program that does this (control-panel in RH
> 5.1) but on my friend's computer even gimp doesn't run. On my computer gimp 
> runs great. We both have gtk 1.0.3 and RH 5.0.
> 
> Btw, isn't g_strdelimit in libglib.. not in libgtk?

That's right. A weird problem has showed up with Red Hat 5.1 - the
programs (which use "gtk-config --libs") have been linked with libgdk
and libgtk only. For some weird reason, libglib doesn't show up:

s9412a:~% ldd /usr/bin/control-panel
        libm.so.6 => /lib/libm.so.6 (0x40006000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001f000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400b6000)
        libgtk.so.1 => /usr/lib/libgtk.so.1 (0x400c1000)
        libgdk.so.1 => /usr/lib/libgdk.so.1 (0x40158000)
        libc.so.6 => /lib/libc.so.6 (0x40176000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

This, for some reason, works with the shipped gtk+-1.0.1. It does not
work with gtk+-1.0.3 (at least, not the ones I've compiled) - the
programs then won't run since they're not linked with
libglib. Recompiling the programs works nicely - and I've made
recompiled RPMs available from
ftp://s9412a.steinan.ntnu.no/pub/gimp/RH51-fix 
(BTW: the gimp available from this site now needs RH 5.1 - since
libjpeg and libpng has been upgraded).


-- 
Trond Eivind Glomsrød



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]