On 10/07/2011 09:44 PM, walt wrote:
On 10/07/2011 04:32 AM, Niccolò Belli wrote:
laptop ~ # prelink -amR
prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2
as dynamic linker
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'
I don't know very much about prelink, but I wonder about using a 32-bit
linker to load a 64-bit library? That sounds wrong to me.
/lib/ld-linux.so.2 is a symlink to ../lib32/ld-linux.so.2.
Is prelink a 32-bit program? Is there maybe a 64-bit prelink on the same
machine? What is actually in your prelink package?
prelink is 64-bit on 64-bit machines and 32-bit on 32-bit machines. On
64-bit machines, it handles 32-bit as well as 64-bit libraries correctly.