Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fixed] prelink not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
chrroessner
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 156
Location: Germany

PostPosted: Mon Aug 22, 2005 11:58 am    Post subject: [fixed] prelink not working Reply with quote

Hi,

I think that prelinking on my system actually does not work.

If running

Code:

prelink --verbose -af
or -afmR


the following output appears:

Code:

amd64 ~ # prelink --verbose -af /
prelink: /usr/bin/srptool: Could not parse `/usr/bin/srptool: //usr/lib64/libopencdk.so.8: no version information available (required by //usr/lib64/libgnutls-extra.so.12)'
prelink: /usr/bin/gnutls-serv: Could not parse `/usr/bin/gnutls-serv: //usr/lib64/libopencdk.so.8: no version information available (required by //usr/lib64/libgnutls-extra.so.12)'
prelink: /usr/bin/gnutls-cli: Could not parse `/usr/bin/gnutls-cli: //usr/lib64/libopencdk.so.8: no version information available (required by //usr/lib64/libgnutls-extra.so.12)'
prelink: /usr/bin/gnutls-cli-debug: Could not parse `/usr/bin/gnutls-cli-debug: //usr/lib64/libopencdk.so.8: no version information available (required by //usr/lib64/libgnutls-extra.so.12)'
amd64 ~ #


This takes about 10 seconds. The file /etc/prelink.cache is not created and the command

Code:

prelink -p


shows

Code:

amd64 ~ # prelink -p
0 objects found in prelink cache `/etc/prelink.cache'


Here my use flags: (emerge --info)

Code:

USE="amd64 X X509 a52 aac aalib acl acpi acpi4linux activefilter adns alsa apache2 arts artswrappersuid audiofile avi bash-completion bcmath berkdb bigger-fonts bitmap-fonts bonobo bzlib caps cddb cdparanoia cdr chroot client codecs crypt cscope css ctype cups dbm dbus dga dhcp directfb doc dts dvd dvdr dvdread dxr3 eds encode extensions faac faad fam fame faxonly fbcon ffmpeg flac font-server foomaticdb freetype gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk2 gtkhtml guile hal hbci icq icu imagemagick imlib ipv6 javascript jbig jpeg jpeg2k kde lcd lcms ldap libclamav libwww lm_sensors lzo lzw lzw-tiff mad maildir mailwrapper mbox mcal md5sum mikmod mime mjpeg mng motif mp3 mpeg mpeg4 mppe-mppc mysql nas ncurses network nls no-old-linux nptl nvidia ogg oggvorbis opengl oss pam pcntl pcre pdflib perl php pic png pnp posix postgres ppds python qt quicktime readline rtc ruby samba scanner sdl session sftplogging slang snmp sockets sox speex spell sqlite ssl subversion symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vanilla vcd vim-with-x vorbis wxwindows xine xml xml2 xmms xpm xprint xrandr xsl xv xvid zlib video_cards_radeon linguas_de userland_GNU kernel_linux elibc_glibc"


and my CFLAGS/CXXFLGAS:

Code:

CFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer"
CFLAGS_amd64="-m64"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"


prelink version: 20050610

Do you have any ideas, what could be wrong?

Thanks in advance

Christian


Last edited by chrroessner on Mon Aug 22, 2005 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
chrroessner
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 156
Location: Germany

PostPosted: Mon Aug 22, 2005 3:47 pm    Post subject: Reply with quote

I fixed it. I ran strace -o ... and found out that there was a symbolic link from /usr/lib/lib64 -> lib64. So this was endless and prelink broke.
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Tue Sep 20, 2005 9:48 pm    Post subject: Reply with quote

I just had the same problem with a link from /usr/local/lib/lib64 -> lib64
and /lib/lib64-/lib64
An equery belongs turned up no packages, so I just deleted them. What did you do? Do you have any idea how these got there (mine were dated from the 5th of september)?
Back to top
View user's profile Send private message
chrroessner
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 156
Location: Germany

PostPosted: Tue Sep 20, 2005 10:22 pm    Post subject: Reply with quote

I removed the bad link, too, but I can not remember which date the link was made.
Back to top
View user's profile Send private message
chrroessner
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 156
Location: Germany

PostPosted: Sat Sep 24, 2005 6:50 am    Post subject: Reply with quote

Yesterday I switched to gcc-4.01 and therefor I made a emerge -e system. After finishing up, I had all three bad links again. If reading the Changelog from baselayout, I bet on this. Maybe baselaout (stable) is a little bit broken.

So hello developers, if you read this, maybe you wuld like to check this ;-)

Christian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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