Package Details: prelink 20130503-7

Git Clone URL: https://aur.archlinux.org/prelink.git (read-only)
Package Base: prelink
Description: ELF prelinking utility to speed up dynamic linking
Upstream URL: http://people.redhat.com/jakub/prelink/
Licenses: GPL
Submitter: xyproto
Maintainer: dundee
Last Packager: dundee
Votes: 80
Popularity: 4.855518
First Submitted: 2015-11-02 11:34
Last Updated: 2015-12-28 20:07

Dependencies (4)

Required by (10)

Sources (3)

Latest Comments

dundee commented on 2016-12-13 17:22

normanu: Do you have some special setting of Make or gcc? E.g. in makepkg.conf?

It looks like you are trying to compile it statically (libc.a).

You should see this output instead:
/bin/sh ../libtool --mode=link gcc -Wall -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -o prelink -all-static cache.o conflict.o cxx.o doit.o exec.o execle_open.o get.o gather.o layout.o main.o prelink.o reloc.o space.o undo.o undoall.o verify.o canonicalize.o md5.o sha.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.o crc32.o arch-i386.o arch-alpha.o arch-ppc.o arch-ppc64.o arch-sparc.o arch-sparc64.o arch-x86_64.o arch-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o -lelf
gcc -Wall -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o prelink -static cache.o conflict.o cxx.o doit.o exec.o execle_open.o get.o gather.o layout.o main.o prelink.o reloc.o space.o undo.o undoall.o verify.o canonicalize.o md5.o sha.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.o crc32.o arch-i386.o arch-alpha.o arch-ppc.o arch-ppc64.o arch-sparc.o arch-sparc64.o arch-x86_64.o arch-mips.o arch-s390.o arch-s390x.o arch-arm.o arch-sh.o arch-ia64.o -lelf

normanu commented on 2016-12-12 08:51

Am I the only one having issue's building prelink?

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libc.a(malloc.o): invalid string offset 50760 >= 1965 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libc.a: error adding symbols: Success
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:270: prelink] Error 1

raffomania commented on 2016-03-29 12:38

Error randomly disappeared. I have no idea what went wrong there. Thanks for your help!

dundee commented on 2016-03-23 09:41

You probably have to install selinux header files as well. Or uninstall selinux completely, prelink works without selinux.

raffomania commented on 2016-03-22 21:24

Getting this error too. I've installed libselinux and /lib/libselinux.so exists. Is there something else needed to get this to work?

Falstaff commented on 2016-01-31 22:53

Getting this error when compiling:

/usr/bin/ld: cannot find -lselinux

dundee commented on 2016-01-08 13:37

atze: Strange, mine want fine:

dundee@dundee-dell ~ $ sudo aura -A prelink
aura >>= Determining dependencies...
aura >>= AUR Packages:
prelink

aura >>= Continue? [Y/n]
aura >>= Building `prelink`...
načítají se balíčky...
řeší se závislosti..
kontrola konfliktních balíčků...

Balíčky (1) prelink-20130503-7

Celková velikost po instalaci: 1,40 MiB

atze commented on 2016-01-05 18:40

getting error

[atze@hoth pkgbuilds]$ sudo aura -A prelink
aura >>= Determining dependencies...
aura >>= AUR Packages:
prelink

aura >>= Continue? [Y/n] y
aura: /var/cache/aura/pkgbuilds/prelink.pb: commitBuffer: invalid argument (invalid character)
[atze@hoth pkgbuilds]$

dundee commented on 2015-12-28 20:07

Ghul: Thanks, fixed.

Ghul commented on 2015-12-27 10:57

configure: error: libelf.h not found

All comments