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 18:55:44
Message-Id: j6nhsl$4ki$1@dough.gmane.org
In Reply to: [gentoo-user] Re: prelink errors by walt
1 On 10/07/2011 09:44 PM, walt wrote:
2 > On 10/07/2011 04:32 AM, Niccolò Belli wrote:
3 >
4 >> laptop ~ # prelink -amR
5 >> prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
6 >> prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in e_ident'
7 >
8 > I don't know very much about prelink, but I wonder about using a 32-bit
9 > linker to load a 64-bit library? That sounds wrong to me.
10
11 /lib/ld-linux.so.2 is a symlink to ../lib32/ld-linux.so.2.
12
13
14 > Is prelink a 32-bit program? Is there maybe a 64-bit prelink on the same
15 > machine? What is actually in your prelink package?
16
17 prelink is 64-bit on 64-bit machines and 32-bit on 32-bit machines. On
18 64-bit machines, it handles 32-bit as well as 64-bit libraries correctly.