Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] prelink problems on amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Karl_R
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2004
Posts: 118
Location: Sydney

PostPosted: Wed Aug 19, 2009 11:57 pm    Post subject: [SOLVED] prelink problems on amd64 Reply with quote

Hi all,

I run Gentoo in 64 bit but when running
Code:
prelink -aR

I get this message:
Quote:
prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker


So it looks like its trying to do 32 bit linking? Why is this?

A quick look at the prelink cache using
Code:
prelink -p
shows that most of the entries are
Quote:
(not prelinkable)
in particular anything that is found in /usr/lib64 and quite a lot of the binaries in /usr/bin

Does all this mean that prelinking does not work for 64 bit?

Any help appreciated

Cheers

Karl


Last edited by Karl_R on Sun Sep 06, 2009 10:06 am; edited 1 time in total
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue Aug 25, 2009 3:29 pm    Post subject: Reply with quote

I get that but only for a few files and they are 32 bit.

Code:
jmd0 ~ # prelink -aR
prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/a.out: Using /lib/ld64.so.1, not /lib64/ld-linux-x86-64.so.2 as dynamic linker
prelink: /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/a.out: Using /lib/ld64.so.1, not /lib64/ld-linux-x86-64.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/pt_chown: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /opt/firefox/crashreporter: Could not find one of the dependencies
prelink: /opt/xulrunner/xpidl: Could not find one of the dependencies
prelink: /usr/lib64/mozilla-firefox/firefox: ELF headers changed since prelinking
jmd0 ~ # file /usr/bin/lddlibc4
/usr/bin/lddlibc4: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped


Prelinking appears to be working here:
Code:

jmd0 ~ # prelink -p | tail
    /usr/lib64/libdbus-1.so.3.4.0 [0xc81be646]
    /usr/lib64/libavahi-common.so.3.5.1 [0x0980899d]
    /lib64/libdl-2.9.so [0xc76613f9]
    /lib64/libpthread-2.9.so [0x0120833b]
    /lib64/libc-2.9.so [0xf678aff5]
    /lib64/ld-2.9.so [0x34fed143]
/usr/bin/renice:
    /lib64/libc-2.9.so [0xf678aff5]
    /lib64/ld-2.9.so [0x34fed143]
/usr/lib64/gedit-2/plugins/libtime.la (not prelinkable)

_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Karl_R
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2004
Posts: 118
Location: Sydney

PostPosted: Sun Sep 06, 2009 10:07 am    Post subject: Reply with quote

Thanks John.

Cheers

Karl
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Sep 06, 2009 11:03 am    Post subject: Reply with quote

Can you prelink on Hardened?
_________________
Git has obsoleted SVN.
10mm Auto has obsoleted 45 ACP.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum