Re: (*sigh*) still gnome-lib problems



Anders Wegge Jakobsen <wegge@wegge.dk> writes:

>  If you're using glibc-2 (libc 6), I'd recommend that you remove libdb 
> entirely. Glibc has it's own libdb.so, which resides in /lib, so as
> far as I can tell, the situation is this:
> 
>  * ld links gnome-gen-mimedb with libdl.so, and finds it in /usr/lib
> 
>  * ld-linux (the dynamic linker) looks for libdl.so at runtime, and
>    finds it in /lib, with the obvious mismatch ocurring.

$ rpm -q --file /usr/lib/libdb.so
glibc-devel-2.0.7-29
$ rpm -q --file /lib/libdb.so.2
glibc-2.0.7-29
$ ls -l /usr/lib/libdb.so
lrwxrwxrwx   1 root     root           20 Dec 27 14:41 /usr/lib/libdb.so -> ../../lib/libdb.so.2

In glibc-2, /usr/lib/libdb.so is a symbolic link to /lib/libdb.so.2 - so
if you have a non-glibc libdb installed, this probably conflicts with
glibc-devel so that /usr/lib/libdb.so may end up being link to the old
libdb.so ...

Martin

-- 
-----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier
   martin@home-of-linux.org, http://www.home-of-linux.org/
------------------------------------------------------------------



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