sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #77270
Gentoo-problem med shared libraries
Halloej,
Jeg har et problem med min gentoo-box, nemlig at af en eller anden
grund kan jeg ikke bygge ting med shared libraries. Dette rammer
specielt emerge af pakker haardt. Nedenfor et det brev jeg har
sendt til gentoo-user, jeg haaber der er nogen her der kan hjaelpe.
For dem som ogsaa er tilmeldt gentoo-user beklager jeg dup'en.
Paa forhaand tak,
Rasmus
Hi,
My gentoo box has begun having problems emerging packages that want
dynamic loading of modules or, rather, my box has begun having problems
with dynamic loading of shared libraries and emerge just shows it
first. The problem usually manifests itself in messages like the
below (from emerge, runtime):
/bin/bash: error while loading shared libraries: /lib/libsandbox.so: undefined symbol: _dl_load_lock
I have gotten messages about _dl_load_lock from trying to build the
gettext and apache packages too. I cannot emerge libperl since the
perl config script does not believe the system supports shared libraries
(or something).
Coming back to the error message above, it seems to stem from the
fact that /usr/lib/libdl.a does not contain this symbol:
nm /usr/lib/libdl.a | grep U
U _dl_open
U _dlerror_run
U _dl_close
U _dlerror_run
U _dl_load_lock
U _dl_sym
U _dlerror_run
U _dl_load_lock
U _dl_vsym
U _dlerror_run
U __asprintf
U __dcgettext
U _dl_catch_error
U _libc_intl_domainname
U calloc
U free
U strerror
U _dl_addr
U _dl_addr
U _dl_rtld_di_serinfo
U _dl_signal_error
U _dlerror_run
U strcpy
..or at least I think that is the problem, I am a bit lost here (which
is why I write this). Interestingly, another gentoo system I have, which
does not have this problem, has /usr/lib/libdl.so. The sick system does
not... I have tried to reemerge glibc to see if that fixed this but no,
it does not. Manually creating this symlink to point to /lib/libdl.so.2
does not make things better so I guess this is just another symptom?
I could write loads more but I would just bore you :) and I am not sure
I am including the right information anyways. Find below output from
emerge info and equery uses glibc. Any response at all is appreciated
and thanks in advance.
emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.8 i686)
=================================================================
System uname: 2.6.8 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage_overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm avi berkdb bitmap-fonts crypt cscope cups curl encode exif f77 fam foomaticdb ftp gd gdbm gif gpm imagemagick imap imlib jpeg libwww mad maildir makecheck mbox mime mng mpeg ncurses nls nptl oggvorbis pam pcre pdflib perl php pic pie png ppds python quicktime readline samba sdl shared sharedmem slang snmp sockets spell spl ssl tcpd tiff truetype usb x86 xml2 xpm xprint zlib"
... equery uses glibc fails due to the above emerge shared lib problem...
Cheers,
Rasmus
--
gentoo-user@xxxxxxxxxx mailing list
----- End forwarded message -----
Follow ups