SlackBuilds Repository

Prelink is a program that modifies ELF shared libraries and ELFdynamically linked binaries in such a way that the time needed forthe dynamic linker to perform relocations at start-up significantlydecreases. Due to fewer relocations, the run-time memory consumptiondecreases as well (especially the number of unsharable pages). Theprelinking information is only used at start-up time if none of thedependent libraries have changed since prelinking; otherwise programsare relocated normally.

There's a script for prelink suitable for a cron job which can be foundat /usr/doc/prelink-$VERSION. Before setting up a cron job, First runprelink on the system then read script and modify it if you think it'sneeded.

WARNING: Non-prelinked binaries may cause SEGFAULT in prelinkedsystems using prelinked libraries. If some programs crashes withSEGFAULT while calling system libraries then run prelink on theprograms in question. The prelink-all script ,which can be found in/usr/doc/prelink-$VERSION, can be used to prelink all system as a root.In same place as prelink-all script, there is a prelink-undo script toundo prelink system wide. Run it as root and it will undo the prelinksystem wide.