Unix Technical Forum

prelink: is it likely to get problems using prelink?

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 06:13 AM
dattler
 
Posts: n/a
Default prelink: is it likely to get problems using prelink?

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 06:13 AM
Glen Vermeylen
 
Posts: n/a
Default Re: prelink: is it likely to get problems using prelink?

I'm having no problems (but no significant speed-ups) so far.
You can always revert all pre-linked binaries back to their original
state (check man prelink)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 06:13 AM
dattler
 
Posts: n/a
Default Re: prelink: is it likely to get problems using prelink?

thanks a lot for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 06:14 AM
Shan Destromp
 
Posts: n/a
Default Re: prelink: is it likely to get problems using prelink?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 06:14 AM
Glen Vermeylen
 
Posts: n/a
Default Re: prelink: is it likely to get problems using prelink?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 06:14 AM
Glen Vermeylen
 
Posts: n/a
Default Re: prelink: is it likely to get problems using prelink?

ehm... sorry... didn't read your reply twice and count to 100 before
answering (I really need to start doing that).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com