Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/binutils-2.16.1 symlinks not updated properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
michaelbevilacqua
n00b
n00b


Joined: 20 Mar 2005
Posts: 42
Location: Schwenksville, PA

PostPosted: Wed Jun 15, 2005 2:18 pm    Post subject: sys-devel/binutils-2.16.1 symlinks not updated properly Reply with quote

Code:

minute autoemerge-logs # as
zsh: command not found: as

minute autoemerge-logs # ls -al /usr/bin/as
lrwxrwxrwx  1 root root 20 May 29 03:27 /usr/bin/as -> i686-pc-linux-gnu-as

minute autoemerge-logs # ls -al /usr/bin/i686-pc-linux-gnu-as
lrwxrwxrwx  1 root root 27 May 29 03:27 /usr/bin/i686-pc-linux-gnu-as -> ../i686-pc-linux-gnu/bin/as

minute autoemerge-logs # ls -al /usr/i686-pc-linux-gnu/bin/as
lrwxrwxrwx  1 root root 43 May 29 03:27 /usr/i686-pc-linux-gnu/bin/as -> /usr/i686-pc-linux-gnu/binutils-bin/2.16/as

minute autoemerge-logs # ls -al /usr/i686-pc-linux-gnu/binutils-bin/2.16/as
ls: /usr/i686-pc-linux-gnu/binutils-bin/2.16/as: No such file or directory

minute autoemerge-logs # rm /usr/i686-pc-linux-gnu/bin/as; ln -s /usr/i686-pc-linux-gnu/binutils-bin/2.16.1/as /usr/i686-pc-linux-gnu/bin/as

Back to top
View user's profile Send private message
michaelbevilacqua
n00b
n00b


Joined: 20 Mar 2005
Posts: 42
Location: Schwenksville, PA

PostPosted: Wed Jun 15, 2005 2:27 pm    Post subject: Reply with quote

This has to be done with all binutils like this

Quote:

cd /usr/i686-pc-linux-gnu/bin
for i in *; do rm $i; ln -s /usr/i686-pc-linux-gnu/binutils-bin/2.16.1/$i $i; done
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Wed Jun 15, 2005 3:09 pm    Post subject: Reply with quote

Or simply:

Code:
binutils-config 1
source /etc/profile


:)
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 15, 2005 4:41 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-348545.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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