This script is for Slackware 13.1 and may be outdated.

SlackBuilds Repository

13.1 > System > prelink (20100106)

Prelink is a program that modifies ELF shared libraries and ELF
dynamically linked binaries in such a way that the time needed for
the dynamic linker to perform relocations at start-up significantly
decreases. Due to fewer relocations, the run-time memory consumption
decreases as well (especially the number of unsharable pages). The
prelinking information is only used at start-up time if none of the
dependent libraries have changed since prelinking; otherwise programs
are relocated normally.

This requires libelf which is available from

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

WARNING: Non-prelinked binaries may cause SEGFAULT in prelinked
systems using prelinked libraries. If some programs crashes with
SEGFAULT while calling system libraries then run prelink on the
programs 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 to
undo prelink system wide. Run it as root and it will undo the prelink
system wide.

Maintained by: Ozan Türkyılmaz
Approved by: dsomero
Keywords: prelink,preload,wine


Source Downloads:
prelink-20100106.tar.bz2 (56e2a1b5a478795352bf6e4d2bc6e0ab)

Download SlackBuild:
prelink.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 13.1

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2017 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Web Design by WebSight Designs |  Managed Hosting by OnyxLight Communications