Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[prelink] recompiler toutes les librairies ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
deluxe
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 205

PostPosted: Sat Sep 11, 2004 9:38 am    Post subject: [prelink] recompiler toutes les librairies ? Reply with quote

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
View user's profile Send private message
gim
Guru
Guru


Joined: 29 Apr 2003
Posts: 418
Location: milky-way

PostPosted: Sat Sep 11, 2004 11:46 am    Post subject: Reply with quote

Il n'y a pas besoin de recompiler quoi que ce soit :)

apres avoir emergé prelink, ceci suffit:
Code:
# prelink -afmR

Ça modifie les binaires en place 8)
Back to top
View user's profile Send private message
deluxe
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 205

PostPosted: Sat Sep 11, 2004 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
gim
Guru
Guru


Joined: 29 Apr 2003
Posts: 418
Location: milky-way

PostPosted: Sat Sep 11, 2004 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
CryoGen
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1426
Location: Bamako - Mali - Afrique

PostPosted: Sat Sep 11, 2004 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sun Sep 12, 2004 8:47 am    Post subject: Reply with quote

librairie = bookshop
bibliothèque = library

Ouvrez un dictionnaire des fois...
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Sun Sep 12, 2004 9:12 am    Post subject: Reply with quote

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 ? :wink:
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum