[SOLVED] Prelink

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Prelink

Postby zugunder » Aug 20th, '11, 00:01

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 :-).
zugunder
 
Posts: 388
Joined: Jun 10th, '11, 00:22

Re: Prelink

Postby marja » Dec 8th, '11, 08:01

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"
User avatar
marja
 
Posts: 547
Joined: Aug 22nd, '11, 20:50

Re: Prelink

Postby zugunder » Dec 8th, '11, 23:05

Thank you, got it!
zugunder
 
Posts: 388
Joined: Jun 10th, '11, 00:22


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron