Summary: | emerge cmake-2.4.3 fails: undefined reference to `_dl_open@GLIBC_PRIVATE' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik <esigra> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Erik
2006-11-28 16:05:59 UTC
> /lib/libdl.so: undefined reference to `_dl_open@GLIBC_PRIVATE'
This isn't a cmake issue. Something else is messed up on your system. Might want to consider re-emerging glibc.
Is there some package other than cmake that also uses that feature of glibc? If so, would like to try to link that package to confirm wether it is really a problem with glibc. Is it documented somewhere that glibc provides the symbols _dl_open@GLIBC_PRIVATE and _dl_close@GLIBC_PRIVATE? If not, it would clearly be a bug in cmake if it tries to use them. The problem with linking cmake was solved by cleaning up after an old glibc version. The system had been upgraded to glibc-2.4 but emerge failed to remove an old file. This caused the problem for cmake. The file left behind was /lib/libdl-2.3.4.so, which did not belong to any package currently installed according to equery. I have checked on another uptodate Gentoo system and it also had the file left behind. Some diagnostic commands reveal this: # ls -l /lib/libdl* -rwxr-xr-x 1 root root 10964 30 aug 2005 /lib/libdl-2.3.4.so -rwxr-xr-x 1 root root 10192 19 dec 04.03 /lib/libdl-2.4.so lrwxrwxrwx 1 root root 14 30 aug 2005 /lib/libdl.so -> libdl-2.3.4.so lrwxrwxrwx 1 root root 12 19 dec 04.03 /lib/libdl.so.2 -> libdl-2.4.so # equery b /lib/libdl* [ Searching for file(s) /lib/libdl-2.3.4.so,/lib/libdl-2.4.so,/lib/libdl.so,/lib/libdl.so.2 in *... ] sys-libs/glibc-2.4-r4 (/lib/libdl.so.2 -> libdl-2.4.so) sys-libs/glibc-2.4-r4 (/lib/libdl-2.4.so) Now I only have /lib/libdl-2.4.so and /lib/libdl.so.2. Cmake is emerged. The bug report can be moved away from cmake (to glibc?). Closing; no idea why did you have stale glibc junk on your system. |