From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703 Description of problem: I am testing prelink-0.3.0-1 (starting with a prelink -ua ; prelink -a to start from a clean situation). However now when I run prelink -qa I get some probably unimportant errors, then an assertion failure. See below for the errors. I can attempt simple debugging if required. prelink: /usr/lib/mozilla-1.4/mozilla-bin: Could not parse `/usr/lib/mozilla-1.4/mozilla-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory' prelink: /usr/lib/mozilla-1.4/regchrome: Could not parse `/usr/lib/mozilla-1.4/regchrome: error while loading shared libraries: libxpcom.so: cannot open shared object file: No such file or directory' prelink: /usr/lib/openoffice/program/pkgchk.bin: Could not parse `/usr/lib/openoffice/program/pkgchk.bin: error while loading shared libraries: libsal.so.3: cannot open shared object file: No such file or directory' prelink: exec.c:890: prelink_exec: Assertion `dso->shdr[new_dynbss + 1].sh_type != 8 || data->d_buf == ((void *)0)' failed. Aborted
Can you please add -vvv to the prelink options and retry? If the assertion failure happens again, I'm interested in what program or library was it currently prelinking (and a copy of that binary resp. library as attachement).
Created attachment 93484 [details] File prelink fails on. The problem is in linking /usr/sbin/cpqarrayd which I have confirmed by running prelink -vvvq /usr/sbin/cpqarrayd I am attaching this file.
Can you please pack all the libraries it uses as well? tar cjhf /tmp/libs.tar.bz2 `ldd /usr/sbin/cpqarrayd | awk ' { print $3 } '` should do the job. I have hard time reproducing it so far.
Please try ftp://people.redhat.com/jakub/prelink/0.3.0-2/
0.3.0-2 no longer gives the assertion failure. rpm -vVa reports 3 "prelinked file was modified" errors, but I have a previous open bug (bug 89953) about this problem with an earlier prelink which I will update accordingly.