Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was wondering how prelinking works. If I prelink my whole system and than delete glibc, will the system 'get up' after restart?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Well of course it won't, because you won't have a C library anymore.

All prelink does is to try and calculate an optimal load address for each library so that no program will have overlapping libraries, then update the libraries so that they default to loading at that address.

Then when a program is run the libraries it uses are unlikely to need to be relocated as they can probably be loaded at their default address.

share|improve this answer
    
I managed to find statifier.sourceforge.net that should get the job done :) –  Łukasz Gruner Jul 14 '11 at 13:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.