Page 1 of 1

[SOLVED] Prelink

PostPosted: Aug 20th, '11, 00:01
by zugunder
Hi,
When I use prelink:
Code: Select all
prelink -amfR

I get this output:
Code: Select all
prelink: /usr/lib64/kompozer/xpcshell: Could not find one of the dependencies
prelink: /usr/lib64/kompozer/kompozer-bin: Could not find one of the dependencies
prelink: /usr/lib64/kompozer/TestGtkEmbed: Could not find one of the dependencies
prelink: /usr/lib64/firefox-5.0.1/plugin-container: Could not find one of the dependencies
prelink: /usr/lib64/firefox-5.0.1/firefox-bin: Could not find one of the dependencies

And though the both programs seem to work fine, could it be a bug of packaging? Or maybe prelink may work incorrectly?
Thank you.
P.S. I know that FF is in testing now :-).

Re: Prelink

PostPosted: Dec 8th, '11, 08:01
by marja
zugunder wrote:Hi,
When I use prelink:
Code: Select all
prelink -amfR

I get this output:
Code: Select all
prelink: /usr/lib64/kompozer/xpcshell: Could not find one of the dependencies
prelink: /usr/lib64/kompozer/kompozer-bin: Could not find one of the dependencies
prelink: /usr/lib64/kompozer/TestGtkEmbed: Could not find one of the dependencies
prelink: /usr/lib64/firefox-5.0.1/plugin-container: Could not find one of the dependencies
prelink: /usr/lib64/firefox-5.0.1/firefox-bin: Could not find one of the dependencies

And though the both programs seem to work fine, could it be a bug of packaging? Or maybe prelink may work incorrectly?
Thank you.
P.S. I know that FF is in testing now :-).


FWIW: if you google
prelink "Could not find one of the dependencies"
you can find posts saying things like: OOo and FF use wrapper scripts that set LD_LIBRARY_PATH.
and here http://permalink.gmane.org/gmane.linux.gentoo.user/248253 it says:
> prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find
> one of the dependencies

These errors are normal. The needed libraries are not in the linker's
default path. LibreOffice uses wrapper scripts when it launches that
manually set LD_LIBRARY_PATH. This is why prelink can't find them. You
can tell prelink to not prelink anything in /usr/lib64/libreoffice by
setting PRELINK_PATH_MASK in /etc/env.d/99local. Mine looks like this:

Code: Select all
PRELINK_PATH_MASK="/usr/lib/vmware-tools:/opt/xulrunner:/usr/lib64/jvm:/usr/lib64/NX:/usr/lib64/libreoffice"

Re: Prelink

PostPosted: Dec 8th, '11, 23:05
by zugunder
Thank you, got it!