Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29208 - emerge kde-3.1.4 seems to have catastrophic results on my system
Summary: emerge kde-3.1.4 seems to have catastrophic results on my system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-20 11:34 UTC by Roberto Nibali
Modified: 2004-03-02 09:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Nibali 2003-09-20 11:34:13 UTC
I cannot start kde anymore after I tried moving to kde-3.1.4 and qt-3.2.1. It
also didn't work with the old qt so qt is not to blame here. I suspect some
compiler or library problems here. To get to the problem: kde-config or also
other "binaries" segfault since the upgrade experiment :(

root@laphish ~ # /usr/kde/3.1/bin/kde-config 
Segmentation fault
root@laphish ~ # file /usr/kde/3.1/bin/kde-config 
/usr/kde/3.1/bin/kde-config: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped
root@laphish ~ # ldd /usr/kde/3.1/bin/kde-config 
        libkdecore.so.4 => /usr/kde/3.1/lib/libkdecore.so.4 (0x40013000)
        libDCOP.so.4 => /usr/kde/3.1/lib/libDCOP.so.4 (0x4019e000)
        libdl.so.2 => /lib/libdl.so.2 (0x401e2000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x401e5000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x401f7000)
        libkdefx.so.4 => /usr/kde/3.1/lib/libkdefx.so.4 (0x4028c000)
        libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5 (0x402b5000)
        libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x4036c000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40a2d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40a58000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40a66000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40a76000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40b58000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40b62000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40b79000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40bc9000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libgcc_s.so.1 
(0x40bd1000)
        libm.so.6 => /lib/libm.so.6 (0x40bda000)
        libc.so.6 => /lib/libc.so.6 (0x40bfc000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x40d2b000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40d86000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40da7000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40e10000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40e26000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40e2e000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40e33000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40e3d000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40e51000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40ead000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40ed8000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x413b1000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x41409000)
root@laphish ~ # ulimit -c unlimited
root@laphish ~ # /usr/kde/3.1/bin/kde-config 
Segmentation fault (core dumped)
root@laphish ~ # gdb -q /usr/kde/3.1/bin/kde-config core
(no debugging symbols found)...
Core was generated by `/usr/kde/3.1/bin/kde-config'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/kde/3.1/lib/libkdecore.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/kde/3.1/lib/libkdecore.so.4
Reading symbols from /usr/kde/3.1/lib/libDCOP.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/kde/3.1/lib/libDCOP.so.4
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libart_lgpl_2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/kde/3.1/lib/libkdefx.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/kde/3.1/lib/libkdefx.so.4
Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5
Reading symbols from /usr/qt/3/lib/libqt-mt.so.3...done.
Loaded symbols for /usr/qt/3/lib/libqt-mt.so.3
Reading symbols from /usr/lib/libpng.so.3...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libgcc_s.so.1...
done.
Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libgcc_s.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libmng.so.1...done.
Loaded symbols for /usr/lib/libmng.so.1
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXft.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libGLcore.so.1...done.
Loaded symbols for /usr/lib/libGLcore.so.1
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
#0  0x4025a435 in open_path () from /usr/lib/libart_lgpl_2.so.2
(gdb) bt
#0  0x4025a435 in open_path () from /usr/lib/libart_lgpl_2.so.2
#1  0x4025aafc in _dl_map_object () from /usr/lib/libart_lgpl_2.so.2
#2  0x40265940 in dl_open_worker () from /usr/lib/libart_lgpl_2.so.2
#3  0x4025d2cb in _dl_catch_error () from /usr/lib/libart_lgpl_2.so.2
#4  0x40265ed6 in _dl_open () from /usr/lib/libart_lgpl_2.so.2
#5  0x401e2eb8 in dlopen_doit () from /lib/libdl.so.2
#6  0x4025d2cb in _dl_catch_error () from /usr/lib/libart_lgpl_2.so.2
#7  0x401e32b6 in _dlerror_run () from /lib/libdl.so.2
#8  0x401e2f04 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
(gdb) quit
root@laphish ~ # 

WTF??? ;)

Reproducible: Always
Steps to Reproduce:
1. have kde-3.1.3 installed
2. go with the newest gcc-3.3.1-r1 downgrade from last week or so
3. emerge unmerge kde-libs
4. emerge -u qt (to newest version)
5. emerge -pu world which in my case ends after the merge of kde-libs-3.1.4 and
   just before the "emerge -u kdeedu".
Actual Results:  
[snipped other lines]

checking for dcopidl2cpp... /usr/kde/3.1/bin/dcopidl2cpp
checking for mcopidl... /usr/kde/3.1/bin/mcopidl
checking for artsc-config... /usr/kde/3.1/bin/artsc-config
checking for kde-config... /usr/kde/3.1/bin/kde-config
checking for meinproc... /usr/kde/3.1/bin/meinproc
configure: error: /usr/kde/3.1/bin/kde-config --prefix outputed the non existant
prefix '' for kdelibs.
                          This means it has been moved since you installed it.
                          This won't work. Please recompile kdelibs for the new
prefix.
                          

!!! ERROR: kde-base/kdeedu-3.1.4 failed.
!!! Function kde_src_compile, Line 125, Exitcode 1
!!! died running ./configure, kde_src_compile:configure



Expected Results:  
A clean emerge so I can switch back to my kde, as I now have to use twm which is
a royal pain in the butt!

I suspect recent changes in libraries and gcc to be the culprit. I can rule out
memory or other hardware failures as other tools have no problem starting.
Comment 1 Roberto Nibali 2003-09-20 14:54:41 UTC
Some more information: All my KDE related binaries seem to be crashing. The ltrace and strace and other important parts follow:

ratz@laphish ~ $ strace -f -F -v -i -T kmatrix.kss 2>&1| tail -15
[407649f2] rt_sigaction(SIGRTMIN, {0x40ef0d50, [], SA_RESTORER, 0x40764a78}, NULL, 8) = 0 <0.000010>
[407649f2] rt_sigaction(SIGRT_1, {0x40ef0da0, [], SA_RESTORER, 0x40764a78}, NULL, 8) = 0 <0.000008>
[407649f2] rt_sigaction(SIGRT_2, {0x40ef0e70, [], SA_RESTORER, 0x40764a78}, NULL, 8) = 0 <0.000008>
[40764ad5] rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 <0.000008>
[412e45b6] _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff1ec, 31, (nil), 0}) = 0 <0.000014>
[407588dd] open("/dev/urandom", O_RDONLY) = 3 <0.000031>
[40758a3d] read(3, "\230_\250\347o\205\272s\225\1\266\352U+[\r\323\247\233"..., 32) = 32 <0.000050>
[407589e6] close(3)                     = 0 <0.000009>
[4076f216] brk(0)                       = 0x8056848 <0.000009>
[4076f216] brk(0x8057848)               = 0x8057848 <0.000014>
[4076f216] brk(0)                       = 0x8057848 <0.000007>
[4076f216] brk(0x8058000)               = 0x8058000 <0.000007>
[40771435] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
upeek: ptrace(PTRACE_PEEKUSER,7166,48,0): No such process
[????????] +++ killed by SIGSEGV +++
ratz@laphish ~ $ ltrace -C  -f -i -n -t -T kmatrix.kss
[40762845] strcmp("C", "C")                      = 0 <0.000361>
[40762845] strcmp("C", "C")                      = 0 <0.000193>
[40771435] --- SIGSEGV (Segmentation fault) ---
[ffffffff] +++ killed by SIGSEGV +++
ratz@laphish ~ $ gcc-config -c
i686-pc-linux-gnu-3.3.1
ratz@laphish ~ $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: /var/tmp/portage/gcc-3.3.1-r1/work/gcc-3.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice)
ratz@laphish ~ $ emerge --version
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-rc2)
ratz@laphish ~ $ emerge info 
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-rc2)
=================================================================
System uname: 2.4.22-rc2 i686 Pentium III (Coppermine)
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache userpriv usersandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://distro. ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga tcltk java sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis motif opengl mozilla cdr X qt kde dvd -gtk -gnome -alsa"

ratz@laphish ~ $

Is there a problem with libart linked against glibc-2.3.2-r1?

(gdb) l
1       /var/tmp/portage/glibc-2.3.2-r1/temp/ccus7O8R.s: No such file or directory.
        in /var/tmp/portage/glibc-2.3.2-r1/temp/ccus7O8R.s
(gdb) bt
#0  0x407a4435 in open_path () from /usr/lib/libart_lgpl_2.so.2
#1  0x407a4afc in _dl_map_object () from /usr/lib/libart_lgpl_2.so.2
#2  0x407af940 in dl_open_worker () from /usr/lib/libart_lgpl_2.so.2
#3  0x407a72cb in _dl_catch_error () from /usr/lib/libart_lgpl_2.so.2
#4  0x407afed6 in _dl_open () from /usr/lib/libart_lgpl_2.so.2
#5  0x4072beb8 in dlopen_doit () from /lib/libdl.so.2
#6  0x407a72cb in _dl_catch_error () from /usr/lib/libart_lgpl_2.so.2
#7  0x4072c2b6 in _dlerror_run () from /lib/libdl.so.2
#8  0x4072bf04 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
Comment 2 Roberto Nibali 2003-09-20 15:06:22 UTC
Holy crap, I think I've found the culprit! It's media-libs/libart_lgpl. After a emerge unmerge media-libs/libart_lgpl I still had libart_lgpl* left in /usr/lib and those seem to be the correct ones. I only had to add a symlink, look:

root@laphish ~ # emerge unmerge  media-libs/libart_lgpl

 media-libs/libart_lgpl
    selected: 2.3.16
   protected: none
     omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 
>>> Unmerging media-libs/libart_lgpl-2.3.16...
No package files given... Grabbing a set.

[snipped a few lines]

<<<        obj /usr/bin/libart2-config
<<<        sym /usr/lib/libart_lgpl_2.so.2
<<<        sym /usr/lib/libart_lgpl_2.so
<<<        dir /usr/share/doc/libart_lgpl-2.3.16
<<<        dir /usr/include/libart-2.0/libart_lgpl
<<<        dir /usr/include/libart-2.0

[snipped a few lines]

root@laphish ~ # libart-config --version
2.2.0
root@laphish ~ # cd /usr/lib
root@laphish /usr/lib # ls -al libart*
-rw-r--r--    1 root     root          211 Jun 10 18:04 libartConf.sh
-rw-r--r--    1 root     root        88368 Jun 10 18:04 libart_lgpl.a
-rwxr-xr-x    1 root     root          724 Jun 10 18:04 libart_lgpl.la
lrwxrwxrwx    1 root     root           20 Jun 10 18:04 libart_lgpl.so -> libart_lgpl.so.2.2.0
lrwxrwxrwx    1 root     root           20 Jun 10 18:04 libart_lgpl.so.2 -> libart_lgpl.so.2.2.0
-rwxr-xr-x    1 root     root        71096 Jun 10 18:04 libart_lgpl.so.2.2.0
root@laphish /usr/lib #  /usr/kde/3.1/bin/kde-config 
/usr/kde/3.1/bin/kde-config: error while loading shared libraries: libart_lgpl_2.so.2: cannot open shared object file: No such file or directory
root@laphish /usr/lib # ln -s libart_lgpl.so.2 libart_lgpl_2.so.2 
root@laphish /usr/lib # /usr/kde/3.1/bin/kde-config --version
Qt: 3.2.1
KDE: 3.1.4
kde-config: 1.0
root@laphish /usr/lib # 

Someone has to address this issue as this is a major bug, IMNSHO! How shall I proceed from now? I don't want to have emerge build me a kde-3.1.4 the next 2 days only to find out that libart_gpl_2 is needed.
Comment 3 Roberto Nibali 2003-09-20 15:14:58 UTC
Ok, I've re-emerged media-libs/libart_lgpl and _now_ my system and the kde binaries seem to be happy. I will now proceed with emerging the rest of the world and report back in case of success or failure.

I'm still wondering why something like this can happen? I hope this (rather lengthy) bug report is useful for more people.
Comment 4 Roberto Nibali 2003-09-21 01:49:24 UTC
Ok, my KDE is back, kde-3.1.4 and qt-3.2.1. It worked flawlessly after the unmerge/merge of media-libs/libart_lgpl. Whoever is responsible for this bug report can close it now. A few apps don't work anymore but I think this is due to the switch to the newer qt library.
Comment 5 Roberto Nibali 2003-09-21 02:39:17 UTC
Here is how you can find out about broken open_path() in shared libraries and how to fix it:

1) basically you need an application that crashes in open_path when you bt it in 
   gdb.
2) run the script which you can find below in the trace
3) if one of the libraries your binary is linked against is shown in the list,
   you will need to re-emerge the corresponding package

Here is a trace of fixing kopete:

ratz@laphish ~ $ kopete
Segmentation fault (core dumped)
ratz@laphish ~ $ ulimit -c unlimited
ratz@laphish ~ $ kopete
Segmentation fault (core dumped)
ratz@laphish ~ $ echo bt > gdb_cmd
ratz@laphish ~ $ gdb -batch -x gdb_cmd -q kopete core
(no debugging symbols found)...Core was generated by `kopete'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...#0  0x405e9465 in open_path () from /usr/lib/libxslt.so.1
#0  0x405e9465 in open_path () from /usr/lib/libxslt.so.1
#1  0x405e9b2c in _dl_map_object () from /usr/lib/libxslt.so.1
#2  0x405fe330 in dl_open_worker () from /usr/lib/libxslt.so.1
#3  0x405ec2fb in _dl_catch_error () from /usr/lib/libxslt.so.1
#4  0x405fe8c6 in _dl_open () from /usr/lib/libxslt.so.1
#5  0x40df0eb8 in dlopen_doit () from /lib/libdl.so.2
#6  0x405ec2fb in _dl_catch_error () from /usr/lib/libxslt.so.1
#7  0x40df12b6 in _dlerror_run () from /lib/libdl.so.2
#8  0x40df0f04 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
ratz@laphish ~ $ ldd $(which kopete) | egrep "xslt|tiff"
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0x40576000)
ratz@laphish ~ $ for lib in /usr/lib/*; do res=$(nm ${lib} 2>/dev/null | grep open_path); if [ "x${res}" != "x" -a "${lib}" != "/usr/lib/libc.a" ]; then echo "found open_path() in: ${lib}"; fi; done
found open_path() in: /usr/lib/libexslt.so
found open_path() in: /usr/lib/libexslt.so.0
found open_path() in: /usr/lib/libexslt.so.0.7.22
found open_path() in: /usr/lib/libtiff.so
found open_path() in: /usr/lib/libtiff.so.3
found open_path() in: /usr/lib/libtiff.so.3.6.0
found open_path() in: /usr/lib/libxslt.so
found open_path() in: /usr/lib/libxslt.so.1
found open_path() in: /usr/lib/libxslt.so.1.0.33
ratz@laphish ~ $

[ I emerge libxslt in another terminal ]

ratz@laphish ~ $
ratz@laphish ~ $ for lib in /usr/lib/*; do res=$(nm ${lib} 2>/dev/null | grep open_path); if [ "x${res}" != "x" -a "${lib}" != "/usr/lib/libc.a" ]; then echo "found open_path() in: ${lib}"; fi; done
found open_path() in: /usr/lib/libtiff.so
found open_path() in: /usr/lib/libtiff.so.3
found open_path() in: /usr/lib/libtiff.so.3.6.0
ratz@laphish ~ $

[as you can see, the open_path() has vanished from libxslt and I expect kopete
 to run now perfectly normal]

ratz@laphish ~ $ kopete
ratz@laphish ~ $

[happiness rules!!]

If there is a need I can write a fix script which will do this all automatically for other people so they can run it and wait and afterwards their system will be fixed. I will now fix the last occurance of the open_path() bug which is in libtiff.

Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-09-21 14:57:08 UTC
Nice find.  It may be worthwhile to submit this information to the GWN newsletter so that it 
gets widely distributed.