Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: prelink errors
Date: Fri, 07 Oct 2011 19:01:47
Message-Id: j6ni7i$848$1@dough.gmane.org
In Reply to: [gentoo-user] prelink errors by "Niccolò Belli"
1 On 10/07/2011 02:32 PM, Niccolò Belli wrote:
2 > I do use libreoffice-bin, but not firefox-bin and thinderbird-bin (I do
3 > compile them from source). I already tried revdep-rebuild and
4 > lafilefixer, even emerge -ave @world but nothing changes.
5 >
6 > Thanks,
7 > Niccolò
8 >
9 > laptop ~ # prelink -amR
10 > prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not
11 > /lib/ld-linux.so.2 as dynamic linker
12 > prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse
13 > `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared
14 > libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding
15 > in e_ident'
16
17 This error got introduced with glibc 2.12. It's harmless and I guess
18 prelink will be updated upstream for this.
19
20
21 > prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find
22 > one of the dependencies
23
24 These errors are normal. The needed libraries are not in the linker's
25 default path. LibreOffice uses wrapper scripts when it launches that
26 manually set LD_LIBRARY_PATH. This is why prelink can't find them. You
27 can tell prelink to not prelink anything in /usr/lib64/libreoffice by
28 setting PRELINK_PATH_MASK in /etc/env.d/99local. Mine looks like this:
29
30
31 PRELINK_PATH_MASK="/usr/lib/vmware-tools:/opt/xulrunner:/usr/lib64/jvm:/usr/lib64/NX:/usr/lib64/libreoffice"