Summary: | prelink no longer prelinks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Surakshan Mendis <bug.tracker> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | beu, zsolt.botykai |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Surakshan Mendis
2004-11-12 17:08:06 UTC
Here is my prelink.conf cat /etc/prelink.conf # prelink.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory -l /bin -l /sbin -l /usr/bin -l /usr/sbin -l /lib -l /usr/lib -h /usr/local/lib -h /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -h /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 -h /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 -h /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 -h /usr/lib/opengl/nvidia/lib -h /usr/lib/MozillaFirefox -h /usr/X11R6/lib64 -h /usr/X11R6/lib -h /opt/sun-jdk-1.4.2.06/jre/lib -h /usr/qt/3/lib -h /usr/kde/3.3/lib -h /usr/kde/3.2/lib -h /usr/lib/speech-tools/lib -h /usr/games/lib -h /usr/lib/libstdc++-v3/ -h /usr/local/bin -h /opt/bin -h /usr/i686-pc-linux-gnu/gcc-bin/3.3 -h /usr/X11R6/bin -h /opt/sun-jdk-1.4.2.06/bin -h /opt/sun-jdk-1.4.2.06/jre/bin -h /opt/sun-jdk-1.4.2.06/jre/javaws -h /usr/qt/3/bin -h /usr/kde/3.3/bin -h /usr/kde/3.2/bin -h /usr/games/bin -h /opt/vmware/bin -b /usr/lib/wine -b /usr/lib/valgrind Okay I've solved the problem, Might be worth while looking into the cause. Some of the speculated "checks" in the original bug may be wrong but the bug "result" was correct, ie, system/file doesn't prelink but prelink exits without error (in seconds). --solution-- I ended up running an strace on the prelink command, I redirected stdout and stderr to a text file. After analysing several mb of data I found this link... stat64("/usr/lib/MozillaFirefox/plugins/clearjavaplugin_oji.so", 0xbfffec50) = -1 ELOOP (Too many levels of symbolic links) I visted the location: root@synapse sura # ls /usr/lib/MozillaFirefox/plugins/clearjavaplugin_oji.so ls: /usr/lib/MozillaFirefox/plugins/clearjavaplugin_oji.so: Too many levels of symbolic links a directory listing showed something disasterous (well strange) I've just shown the important part. root@synapse sura # ls -al /usr/lib/MozillaFirefox/plugins/ lrwxrwxrwx 1 root root 22 Oct 21 20:31 clearjavaplugin_oji.so -> clearjavaplugin_oji.so I deleted this, its a circular link (a link linking to it self). Ran prelink again and I'm pleased to say it worked. This clearly happened after I compiled firefix 1.0. Got almost the same problem but not with that file. So I traced too, and it was /usr/lib/lib (symlink to itself). Checked what had done this, but qpkg couldn't found. What the heck? I'm don't have a /usr/lib/lib so thats interesting. I guess you already have deleted the link. That will probably fix it, as to what caused it, I'm, not sure Of course I deleted the pointless /usr/lib/lib symlink. But IMHO this isn't a coorect behaviour of 'prelink'. It should have "tell" to Joe (beginner) user, that it had had some probelem, cause most of the time Joe doesn't know (and care) about exit codes. Should I fill an another bug-report? you're right, and one wastes considerable time trying to find the file that that is breaking it. It's not a bug, its a feature request at best, perhaps aimed at upstream devs but don't submit a bug as upstream from here. |