Re: Error when prelinking firefox
Le Vendredi 21 Janvier 2005 22:39, Jan C. Nordholz a écrit :
> firefox has its own set of libraries which are not in the default
> search path. Libraries are only searched for in each of the paths
> in /etc/ld.so.conf, and anything in the environment variable
> LD_LIBRARY_PATH (provided that the given executable is not setuid/setgid).
> Firefox' libraries reside in /usr/lib/mozilla-firefox and various other
> places, and the shell script /usr/bin/firefox (which you call to start
> firefox) adds all those library paths to LD_LIBRARY_PATH before executing
> the "real" executable, firefox-bin.
> So if you want to prelink the binary, you'll have to mention all those
> directories, too, or prelink won't find them. Have a look at
> /usr/bin/firefox to get the whole list, it's quite easy to find.
> PS: Ah, by the way: You can check the dynamic library dependencies of
> an executable with the tool "ldd".
> Jan C. Nordholz
> <jckn At gmx net>
hey, that works properly now. I wouldn't have thought about that by myself.
Thanks a lot !