This is a discussion on prelink: is it likely to get problems using prelink? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi there, is it likely to get System - Library - problems after installing prelink on a up to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Captains log; stardate Friday 16 January 2004 01:51 pm, Lieutenant dattler reported that....... > Hi there, is it likely to get System - Library - problems after installing > prelink on a up to date (which means new) gentoo system? is it good advise > to use it? Just to clarify things about what prelinking does: It generates a binary (executable file) with all the necissary libraries already inside. This means, if you prelink a file and then update one of its libraries, the prelinked file will NOT see the changes until you re-prelink. There isn't really any (significant) danger to prelinking over non-prelinking (in fact there may be less if you prelink, since you don't have to worry about ruining lib files) but IMO its more of a pain than its worth since you have to re-prelink whenever you update libs. -- Shan Destromp --- Sent: Sat, Jan 17, 2004 @ 19.16.53 EST ---- OS: GNU/Linux 2.4.22-gentoo-r4 Processor: AuthenticAMD i686 |
| |||
| Shan Destromp wrote: > Captains log; stardate Friday 16 January 2004 01:51 pm, Lieutenant dattler reported that....... > > >>Hi there, is it likely to get System - Library - problems after installing >>prelink on a up to date (which means new) gentoo system? is it good advise >>to use it? > > > Just to clarify things about what prelinking does: > > It generates a binary (executable file) with all the necissary libraries already inside. This > means, if you prelink a file and then update one of its libraries, the prelinked file will NOT see > the changes until you re-prelink. There isn't really any (significant) danger to prelinking over > non-prelinking (in fact there may be less if you prelink, since you don't have to worry about > ruining lib files) but IMO its more of a pain than its worth since you have to re-prelink whenever > you update libs. wrong :-) $man prelink => DESCRIPTION prelink is a program which modifies ELF shared libraries and ELF dynamically linked binaries, so that the time which dynamic linker needs for their relocation at startup significantly decreases and also due to fewer relocations the run- time memory consumption decreases too (especially number of unshareable pages). Such prelinking information is only used if all its dependant libraries have not changed since prelinking, otherwise programs are relocated normally. |