LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   glib error while installing patch: symbol lookup error undefined symbol: g_dgettext (http://www.linuxquestions.org/questions/linux-software-2/glib-error-while-installing-patch-symbol-lookup-error-undefined-symbol-g_dgettext-813985/)

mthakare 06-14-2010 01:10 AM

glib error while installing patch: symbol lookup error undefined symbol: g_dgettext
 
I am having a SUSE 11 64bit machine. In an attempt to install bunch of rpms I got following error
usr/bin/gconftool-2: symbol lookup error: /usr/lib64/libgconf-2.so.4: undefined symbol: g_dgettext

following is the output of ldd command

$> ldd -r /usr/lib64/libgconf-2.so.4
linux-vdso.so.1 => (0x00007fff9adfe000)
libORBit-2.so.0 => /usr/lib64/libORBit-2.so.0 (0x00007f1392860000)
libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f139265c000)
libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f1392456000)
librt.so.1 => /lib64/librt.so.1 (0x00007f139224d000)
libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x00007f139202c000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f1391e13000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f1391bd5000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f1391990000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f13916ca000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f13914ae000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1391155000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f1390f50000)
libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00007f1390d20000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1392d45000)


It doesn't point to any problem.
Further investigation led me to the fact the there are two copies of libglib-2.0.so.0, one in /usr/lib64/libglib-2.0.so.0 and the other in /usr/lib/libglib-2.0.so.0 (64 bit and 32 bit respectively)

These are the output of nm commands of these files

$> nm -D /usr/lib/libglib-2.0.so.0 | grep g_dgettext
0005a030 T g_dgettext
$> nm -D /usr/lib64/libglib-2.0.so.0 | grep g_dgettext
00000000000598c0 T g_dgettext


What could be the problem of this symbol collision. By the way, I am using yum to install a long list of rpms and this error is given by yum install.

business_kid 06-14-2010 04:01 AM

That's a good one. I would rebuild the rpm database, and split the list and try to narrow this down. We don't even know for sure it's a 32 bit or 64 bit error from what you have given us.


All times are GMT -5. The time now is 06:55 AM.