Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prelink
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
fastMoon
n00b
n00b


Joined: 30 Jul 2003
Posts: 41

PostPosted: Sat Apr 29, 2006 10:42 am    Post subject: prelink Reply with quote

prelink -av gives me:

prelink: Can't walk directory tree /usr/lib/: Too many levels of symbolic links

This has never happened before (and I didn't install much after last time I prelinked)
Any thoughts on what's going on ?


Victor
_________________
Let's try and bring some water to the moon.
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Sat Apr 29, 2006 11:34 am    Post subject: Reply with quote

When I run prelink I do
prelink -amRv

could one of those options be doing it?
Back to top
View user's profile Send private message
univerz
n00b
n00b


Joined: 02 Nov 2005
Posts: 6
Location: Slovakia

PostPosted: Sun Apr 30, 2006 12:41 pm    Post subject: same problem Reply with quote

:(.

Code:
Too many levels of symbolic links

too many things in /usr/lib (symlink to /usr/lib64), or bad symlink?
Back to top
View user's profile Send private message
Leo Lausren
Apprentice
Apprentice


Joined: 24 Feb 2004
Posts: 198
Location: Denmark

PostPosted: Sun Apr 30, 2006 1:32 pm    Post subject: Re: prelink Reply with quote

fastMoon wrote:
prelink -av gives me:
prelink: Can't walk directory tree /usr/lib/: Too many levels of symbolic links

I found that /usr/lib/lib was linking to itself. Removing it allowed prelink to finish.
_________________
Blog: common sense – nonsense
Back to top
View user's profile Send private message
fastMoon
n00b
n00b


Joined: 30 Jul 2003
Posts: 41

PostPosted: Sun Apr 30, 2006 4:51 pm    Post subject: solved Reply with quote

thanks 4 the info,
I did :

emerge symlinks
symlinks -drv /
prelink -av

and now everything works !!
_________________
Let's try and bring some water to the moon.
Back to top
View user's profile Send private message
areafix
n00b
n00b


Joined: 15 Mar 2010
Posts: 2

PostPosted: Mon Mar 15, 2010 2:12 am    Post subject: Reply with quote

Sorry for up an old topic, but i have the same problem

prelink -amvfR

prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: Failed searching /lib/: Too many levels of symbolic links

Tried symlinks -drv / , but nothing changed..

I use ~amd64
sys-devel/prelink-20100106
sys-libs/glibc-2.11-r1
sys-devel/binutils-2.20.1
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1219

PostPosted: Fri May 14, 2010 11:36 pm    Post subject: Reply with quote

is there any benefit of using prelink with modern SSD drives?
_________________
gentoo user
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Mon Oct 11, 2010 12:55 pm    Post subject: Reply with quote

tnt wrote:
is there any benefit of using prelink with modern SSD drives?


Yes, I think so.. search times will be reduced.... I mean no matter how fast the access times, the process and the SSD WILL have to search for the relevant libs.

Anyway, I'm having the same issue

Code:
prelink: Failed searching /lib/: Too many levels of symbolic links


I tried symlinks.
_________________
My blog
Back to top
View user's profile Send private message
Ormaaj
Guru
Guru


Joined: 28 Jan 2008
Posts: 319

PostPosted: Mon Oct 11, 2010 3:33 pm    Post subject: Reply with quote

Afaik prelinking doesn't really provide any runtime performance advantages. Just makes things load faster.
Back to top
View user's profile Send private message
Petros
n00b
n00b


Joined: 28 Mar 2015
Posts: 50

PostPosted: Sun Sep 27, 2015 10:32 pm    Post subject: Reply with quote

Does anybody knows how to inform Plasma 5 that it is prelinked? I don't know if the old method for KDE4 still applies.*

*I mean this
Code:
Set KDE_IS_PRELINKED=1 in /etc/env.d/*kdepaths* to inform KDE about the prelinking.


EDIT: Haven't seen the date of the last answer.
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