Summary: | random emerge fails: undefined reference to '__dlopen' & 'dlsym' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John L. Poole <prestopoole> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
John L. Poole
2010-01-05 16:48:29 UTC
After filing this bug, I tried to emerge www-client/mozilla-firefox which pulled in dev-libs/nss-3.12.3-r1 which failed: ... /d1/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.3.4/../../../lib/gcc/armv5tel-softfloat-linux-gnueabi/4.3.4/../../../libdl.a(dlopen.o): In function `dlopen': (.text+0xc): undefined reference to `__dlopen' /d1/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.3.4/../../../lib/gcc/armv5tel-softfloat-linux-gnueabi/4.3.4/../../../libdl.a(dlclose.o): In function `dlclose': (.text+0x0): undefined reference to `__dlclose' /d1/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.3.4/../../../lib/gcc/armv5tel-softfloat-linux-gnueabi/4.3.4/../../../libdl.a(dlsym.o): In function `dlsym': (.text+0xc): undefined reference to `__dlsym' collect2: ld returned 1 exit status make[2]: *** [Linux2.6_arm_armv5tel-softfloat-linux-gnueabi-gcc_glibc_PTH_OPT.OBJ/libsoftokn3.so] Error 1 Given that the above error message occurred in a different package, it looks like the problem is not with sys-apps/baselayout, but possibly with GCC? Yup... the culprit very well may be GCC since it was just installed: tiny build # eix -I GCC [I] sys-devel/gcc Available versions: (2.95) [P]*2.95.3-r9 [P]~*2.95.3-r10!s (3.1) [P]*3.1.1-r2 (3.2) **3.2.2!s *3.2.3-r4 (3.3) ~*3.3.6-r1!s (3.4) 3.4.6-r2!s (4.0) ~*4.0.4!s (4.1) 4.1.2!s (4.2) ~4.2.4-r1!s (4.3) ~4.3.2-r3!s 4.3.2-r4!s ~4.3.3-r2!s 4.3.4!s (4.4) -4.4.1!s ~4.4.2!s {altivec bootstrap boundschecking build d doc fixed-point fortran gcj graphite gtk hardened ip28 ip32r10k java libffi mudflap multilib multislot n32 n64 nls nocxx nopie nossp nptl objc objc++ objc-gc openmp static test vanilla} Installed versions: 4.3.4(4.3)!s(03:31:30 01/05/10)(fortran mudflap nls nptl openmp -altivec -bootstrap -build -doc -fixed-point -gcj -gtk -hardened -ip28 -ip32r10k -libffi -multilib -multislot -n32 -n64 -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla) Homepage: http://gcc.gnu.org/ Description: The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking [I] sys-devel/gcc-config Available versions: 1.3.16 1.4.0-r4 1.4.1 **1.5 Installed versions: 1.4.1(19:26:41 10/13/09) Homepage: http://www.gentoo.org/ Description: Utility to change the gcc compiler being used [I] x11-misc/gccmakedep Available versions: 1.0.2 {debug} Installed versions: 1.0.2(19:27:50 10/13/09)(-debug) Homepage: http://xorg.freedesktop.org/ Description: create dependencies in makefiles using 'gcc -M' Found 3 matches. tiny build # Should this bug be assigned to the owner of the GCC package? I found this link to a similar problem where the author posted: http://www.mail-archive.com/ion-general@lists.berlios.de/msg01639.html vvvvv I have /usr as a symlink to another location and /usr/lib cannot be symlinked in any way. I had similar problems with compiling something else and using `mount --bind' instead of a symlink resolved it. ^^^^^ I, too, have my /usr directory symlinked to another directory. I'll change to the "mount --bind" solution and updated this bug with my findings. Still working on it... I also had /var sym linked, too, and my reconfiguration (which had a typo) has resulted in my not being able to boot from the base image. I'm certain that problem arises over the inability of some programs to accept symlinked /usr or /var (I have successfully used this method on an identical machine, so it can be done... if you don't make typos and catapult yourself into a rabbit hole). not a bug in baselayout. your glibc and/or paths to glibc looks hosed. I agree: my system was corrupted. I compared my /sbin directory with another box and notice several files missing. I'm closing this bug as "INVALID" as it arises from a system that determinately had corruption on the disk. |