Click to See Complete Forum and Search --> : prelinking


shadowrider
03-31-2003, 11:30 PM
hi, just have this error when trying to use prelinking (taken from gentoo guide)

well i did :
emerge ">=sys-apps/tcp-wrappers-7.6-r4" ORBit
emerge ">=sys-libs/zlib-1.1.4"
emerge ">=media-libs/svgalib-1.9.16"
emerge ">=x11-base/xfree-4.2.1-r2"
emerge ">=net-libs/libpcap-0.7.1-r2"
emerge ">=media-libs/lcms-1.09"

then i got the following errors:

root@localhost root # prelink -afmR
prelink: /usr/bin/loadshlib: Could not parse `/usr/bin/loadshlib: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/apache: Could not parse `/usr/sbin/apache: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/ab: Could not parse `/usr/sbin/ab: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/logresolve: Could not parse `/usr/sbin/logresolve: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/rotatelogs: Could not parse `/usr/sbin/rotatelogs: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/suexec: Could not parse `/usr/sbin/suexec: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/uil: Could not parse `/usr/X11R6/bin/uil: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/xmanimate: Could not parse `/usr/X11R6/bin/xmanimate: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/fileview: Could not parse `/usr/X11R6/bin/fileview: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/hellomotif: Could not parse `/usr/X11R6/bin/hellomotif: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/periodic: Could not parse `/usr/X11R6/bin/periodic: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/helloint: Could not parse `/usr/X11R6/bin/helloint: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'
prelink: /usr/kde/3.1/bin/artscat: section file offsets not monotonically increasing
prelink: /usr/lib/libdivxdecore.so: Not enough room to add .dynamic entry
prelink: /usr/bin/yuv2lav: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/lavaddwav: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/lav2yuv: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/lavrec: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/lav2divx: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/lav2wav: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/kde/3.1/bin/artsd: section file offsets not monotonically increasing
prelink: /usr/bin/lavtrans: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/ffserver: Cannot prelink against non-PIC shared library /usr/lib/libavcodec.so
prelink: /usr/bin/lavinfo: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/i686-pc-linux-gnu/gcc-bin/3.2/g++ is no longer hardlink to /usr/i686-pc-linux-gnu/gcc-bin/3.2/c++
prelink: /usr/i686-pc-linux-gnu/gcc-bin/3.2/g++ is no longer hardlink to /usr/i686-pc-linux-gnu/gcc-bin/3.2/c++
prelink: /usr/bin/yuvscaler: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/ffmpeg: Cannot prelink against non-PIC shared library /usr/lib/libavcodec.so
prelink: /usr/bin/yuv2divx: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/lib/libdivxencore.so: Not enough room to add .dynamic entry
prelink: /usr/bin/openjade: section file offsets not monotonically increasing
prelink: /usr/bin/divxdec: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0
prelink: /usr/bin/lavplay: Cannot prelink against non-PIC shared library /usr/lib/liblavfile-1.6.so.0

any ideas?

shadowrider
03-31-2003, 11:32 PM
hum...apparently i couldn't capture all the messages, here's some more errors:
or directory'
prelink: /usr/bin/htpasswd: Could not parse `/usr/bin/htpasswd: error while load ing shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/bin/htdigest: Could not parse `/usr/bin/htdigest: error while load ing shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/bin/theme-selector-capplet: Could not parse `/usr/bin/theme-select or-capplet: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/ui-properties: Could not parse `/usr/bin/ui-properties: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared objec t file: No such file or directory'
prelink: /usr/bin/file-types-capplet: Could not parse `/usr/bin/file-types-cappl et: error while loading shared libraries: libORBitCosNaming.so.0: cannot open sh ared object file: No such file or directory'
prelink: /usr/bin/oaf-empty-server: Could not parse `/usr/bin/oaf-empty-server: error while loading shared libraries: libORBit.so.0: cannot open shared object f ile: No such file or directory'
prelink: /usr/bin/mouse-properties-capplet: Could not parse `/usr/bin/mouse-prop erties-capplet: error while loading shared libraries: libORBitCosNaming.so.0: ca nnot open shared object file: No such file or directory'
prelink: /usr/bin/gnome-panel-properties-capplet: Could not parse `/usr/bin/gnom e-panel-properties-capplet: error while loading shared libraries: libORBitCosNam ing.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/xpidl: Could not parse `/usr/bin/xpidl: error while loading sh ared libraries: libIDL-0.6.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/url-properties: Could not parse `/usr/bin/url-properties: erro r while loading shared libraries: libORBitCosNaming.so.0: cannot open shared obj ect file: No such file or directory'
prelink: /usr/bin/panel: Could not parse `/usr/bin/panel: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/background-properties-capplet: Could not parse `/usr/bin/background-properties-capplet: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/gnome-panel-add-launcher: Could not parse `/usr/bin/gnome-panel-add-launcher: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/gconftool-1: Could not parse `/usr/bin/gconftool-1: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/keyboard-properties: Could not parse `/usr/bin/keyboard-properties: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/wm-properties-capplet: Could not parse `/usr/bin/wm-properties-capplet: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/oaf-client: Could not parse `/usr/bin/oaf-client: error while loading shared libraries: libORBit.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/goad-browser: Could not parse `/usr/bin/goad-browser: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/gconfd-1: Could not parse `/usr/bin/gconfd-1: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/gnome-name-service: Could not parse `/usr/bin/gnome-name-service: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/gnomecc: Could not parse `/usr/bin/gnomecc: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/oaf-run-query: Could not parse `/usr/bin/oaf-run-query: error while loading shared libraries: libORBit.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/sound-properties: Could not parse `/usr/bin/sound-properties: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/gnomexmms: Could not parse `/usr/bin/gnomexmms: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/default-application-properties-capplet: Could not parse `/usr/bin/default-application-properties-capplet: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/oafd: Could not parse `/usr/bin/oafd: error while loading shared libraries: libORBit.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/bin/loadshlib: Could not parse `/usr/bin/loadshlib: error while loading shared libraries: libORBitCosNaming.so.0: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/apache: Could not parse `/usr/sbin/apache: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/ab: Could not parse `/usr/sbin/ab: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/logresolve: Could not parse `/usr/sbin/logresolve: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/rotatelogs: Could not parse `/usr/sbin/rotatelogs: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/sbin/suexec: Could not parse `/usr/sbin/suexec: error while loading shared libraries: libdb-3.2.so: cannot open shared object file: No such file or directory'
prelink: /usr/X11R6/bin/uil: Could not parse `/usr/X11R6/bin/uil: error while loading shared libraries: libMrm.so.3: cannot open shared object file: No such file or directory'

Hayl
03-31-2003, 11:38 PM
there is a doc on prelinking on the gentoo website. you can get rid of a lot of those errors with some hints that they have in the doc.

i always get some errors when i run it on mine - i wouldnt worry too much if you stil have some after you do what they say in the gentoo doc.

shadowrider
04-01-2003, 12:02 AM
yeah 'cause those are the suggestions from the doc.
and they did state that libavcodec is a bug.

so then with these errors, do some other parts get prelinked?

'cause the main purpose was to prelink mozilla.