View previous topic :: View next topic |
Author |
Message |
deluxe Apprentice
Joined: 27 Jul 2003 Posts: 205
|
Posted: Sat Sep 11, 2004 9:38 am Post subject: [prelink] recompiler toutes les librairies ? |
|
|
Comment recompiler toutes les librairies d'une gentoo pour les faire marcher avec le prelink ? Est-ce qu'un "emerge -e world" suffirait ?
Merci de votre aide |
|
Back to top |
|
|
gim Guru
Joined: 29 Apr 2003 Posts: 418 Location: milky-way
|
Posted: Sat Sep 11, 2004 11:46 am Post subject: |
|
|
Il n'y a pas besoin de recompiler quoi que ce soit
apres avoir emergé prelink, ceci suffit:
Ça modifie les binaires en place |
|
Back to top |
|
|
deluxe Apprentice
Joined: 27 Jul 2003 Posts: 205
|
Posted: Sat Sep 11, 2004 1:49 pm Post subject: |
|
|
C'est ce que j'ai fais mais j'obtiens ça:
Code: | Gentoo ~ # prelink -afmR
prelink: /usr/kde/3.3/bin/artsrec: Cannot prelink against non-PIC shared library /usr/kde/3.3/lib/libsoundserver_idl.so.1
prelink: /usr/lib/xscreensaver/flyingtoasters: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/bin/aseqnet: Cannot prelink against non-PIC shared library /usr/lib/libasound.so.2
prelink: /usr/lib/gimp/2.0/plug-ins/oilify: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/esdcat: Cannot prelink against non-PIC shared library /usr/lib/libasound.so.2
prelink: /usr/lib/gimp/2.0/plug-ins/mail: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/rpcclient: Cannot prelink against non-PIC shared library /usr/lib/libxml2.so.2
prelink: /usr/bin/eog: Cannot prelink against non-PIC shared library /usr/lib/libeel-2.so.2
prelink: /sbin/fbmngplay: Cannot prelink against non-PIC shared library /usr/lib/libmng.so.1
prelink: /usr/lib/gimp/2.0/plug-ins/sgi: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gdmlogin: Cannot prelink against non-PIC shared library /usr/lib/libgtk-x11-2.0.so.0
prelink: /usr/bin/gnome-background-properties: Cannot prelink against non-PIC shared library /usr/lib/libgnome-window-settings.so.1
prelink: /usr/bin/activation-client: Cannot prelink against non-PIC shared library /usr/lib/libbonobo-2.so.0
prelink: /usr/lib/xscreensaver/pulsar: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/bin/gnotski: Cannot prelink against non-PIC shared library /usr/lib/libgnomeui-2.so.0
prelink: /usr/lib/xscreensaver/blocktube: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/bin/anjuta: Cannot prelink against non-PIC shared library /usr/lib/libglade-2.0.so.0
prelink: /usr/bin/mplayer: Cannot prelink against non-PIC shared library /usr/lib/libmad.so.0
prelink: /usr/bin/display: Cannot prelink against non-PIC shared library /usr/lib/libMagick.so.6
prelink: /usr/lib/gimp/2.0/plug-ins/gbr: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/aconnect: Cannot prelink against non-PIC shared library /usr/lib/libasound.so.2
prelink: /usr/bin/gdesklets-display-thumbnailer: Cannot prelink against non-PIC shared library /usr/lib/libgnomevfs-2.so.0
prelink: /usr/bin/aspell: Cannot prelink against non-PIC shared library /usr/lib/libaspell.so.15
prelink: /usr/bin/esdctl: Cannot prelink against non-PIC shared library /usr/lib/libasound.so.2
prelink: /usr/bin/gconf-merge-tree: Cannot prelink against non-PIC shared library /usr/lib/libgconf-2.so.4
prelink: /usr/bin/gst-inspect-0.8: Cannot prelink against non-PIC shared library /usr/lib/libgstreamer-0.8.so.1
prelink: /usr/qt/3/bin/designer: Cannot prelink against non-PIC shared library /usr/lib/libmng.so.1
prelink: /usr/bin/gnomevfs-copy: Cannot prelink against non-PIC shared library /usr/lib/libgnomevfs-2.so.0
prelink: /usr/lib/xscreensaver/gleidescope: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/tileit: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/alsalisp: Cannot prelink against non-PIC shared library /usr/lib/libasound.so.2
prelink: /usr/lib/gimp/2.0/plug-ins/edge: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/lib/xscreensaver/mirrorblob: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/gicon: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/mosaic: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gst-md5sum-0.8: Cannot prelink against non-PIC shared library /usr/lib/libgstreamer-0.8.so.1
prelink: /usr/lib/xscreensaver/extrusion: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/bin/themus-theme-applier: Cannot prelink against non-PIC shared library /usr/lib/libnautilus.so.2
prelink: /usr/bin/tiffset: Cannot prelink against non-PIC shared library /usr/lib/libtiff.so.3
prelink: /usr/bin/panel-test-applets: Cannot prelink against non-PIC shared library /usr/lib/libgnomeui-2.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/imagemap: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gnometris: Cannot prelink against non-PIC shared library /usr/lib/libglade-2.0.so.0
prelink: /usr/kde/3.3/bin/artsshell: Cannot prelink against non-PIC shared library /usr/kde/3.3/lib/libsoundserver_idl.so.1
prelink: /usr/lib/gimp/2.0/plug-ins/dbbrowser: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/qt/3/bin/lrelease: Cannot prelink against non-PIC shared library /usr/lib/libmng.so.1
prelink: /usr/lib/gimp/2.0/plug-ins/CML_explorer: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/struc: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gnome_segv: Cannot prelink against non-PIC shared library /usr/lib/libasound.so.2
prelink: /usr/lib/gimp/2.0/plug-ins/video: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/montage: Cannot prelink against non-PIC shared library /usr/lib/libMagick.so.6
prelink: /usr/lib/gimp/2.0/plug-ins/wind: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gnome-default-applications-properties: Cannot prelink against non-PIC shared library /usr/lib/libgnome-window-settings.so.1
prelink: /usr/lib/gimp/2.0/plug-ins/gfig: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/psp: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gst-launch-0.8: Cannot prelink against non-PIC shared library /usr/lib/libgstreamer-0.8.so.1
prelink: /usr/bin/gnect: Cannot prelink against non-PIC shared library /usr/lib/libgnomeui-2.so.0
prelink: /usr/sbin/berkeley_db42_svc: Cannot prelink against non-PIC shared library /usr/lib/libdb-4.2.so
prelink: /usr/bin/file-roller: Cannot prelink against non-PIC shared library /usr/lib/libgnomeui-2.so.0
prelink: /usr/lib/gimp/2.0/plug-ins/iwarp: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/id3info: Cannot prelink against non-PIC shared library /usr/lib/libid3-3.8.so.3
prelink: /usr/bin/epiphany-bin: Cannot prelink against non-PIC shared library /usr/lib/libnautilus.so.2
prelink: /usr/lib/gimp/2.0/plug-ins/nlfilt: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/gtk-demo: Cannot prelink against non-PIC shared library /usr/lib/libgdk_pixbuf-2.0.so.0
prelink: /usr/bin/gnome-cups-icon: Cannot prelink against non-PIC shared library /usr/lib/libgnomeui-2.so.0
prelink: /usr/bin/gnome-ui-properties: Cannot prelink against non-PIC shared library /usr/lib/libgnome-window-settings.so.1
prelink: /usr/lib/gimp/2.0/plug-ins/postscript: Cannot prelink against non-PIC shared library /usr/lib/libgimpui-2.0.so.0
prelink: /usr/bin/orbit-idl-2: Cannot prelink against non-PIC shared library /usr/lib/libIDL-2.so.0
prelink: /usr/bin/db4.2_dump: Cannot prelink against non-PIC shared library /usr/lib/libdb-4.2.so
prelink: /usr/bin/tiff2bw: Cannot prelink against non-PIC shared library /usr/lib/libtiff.so.3
prelink: /usr/bin/tiffcmp: Cannot prelink against non-PIC shared library /usr/lib/libtiff.so.3
prelink: /usr/bin/tiffinfo: Cannot prelink against non-PIC shared library /usr/lib/libtiff.so.3 |
|
|
Back to top |
|
|
gim Guru
Joined: 29 Apr 2003 Posts: 418 Location: milky-way
|
Posted: Sat Sep 11, 2004 4:19 pm Post subject: |
|
|
En effet certaines librairies qui n'ont pas été compilées avec -fPIC ne sont pas prelinkables. Mais si elles n'ont pas été compilées avec, c'est souvent parce qu'elles ne le supportent pas.
Tu peux toujours essayer si tu le souhaites...
Code: | CFLAGS="-fPIC" emerge ... |
Mais le reste est prélinké correctement normalement. |
|
Back to top |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Sat Sep 11, 2004 5:06 pm Post subject: |
|
|
Faut rajouter "pic" dans les USE
apres il suffit de recompiler les librairies _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
|
cylgalad Veteran
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Sun Sep 12, 2004 8:47 am Post subject: |
|
|
librairie = bookshop
bibliothèque = library
Ouvrez un dictionnaire des fois... |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Sun Sep 12, 2004 9:12 am Post subject: |
|
|
cylgalad wrote: | librairie = bookshop
bibliothèque = library |
donc sous linux on doit parler de bibliothèques car l'accès est libre, alors que sous un OS propriétaire, on doit parler de librairie, c'est bien ça ? _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
|