Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc libstdc++ error
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
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Mon Apr 11, 2005 3:09 pm    Post subject: gcc libstdc++ error Reply with quote

Hi,

I just installed the Gentoo 2005.0.

I have a problem in the gcc compiler, and always I get this error:

Code:

grep: //usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory


I go to FAQ : https://forums.gentoo.org/viewtopic-t-279020.html

and they suggest to do:
Code:
fix_libtool_files.sh 3.3.5


But, I still have the same error.

Please, any one to help.

Thanks.
_________________
/aeh
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3343

PostPosted: Mon Apr 11, 2005 3:11 pm    Post subject: Reply with quote

did you
Code:
env-update && source /etc/profile
before you ran fix_lib_tools.sh ?
_________________
"Sex: breakfast of champions" - James Hunt
Back to top
View user's profile Send private message
Abedel_hady
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 139

PostPosted: Mon Apr 11, 2005 3:35 pm    Post subject: Reply with quote

Yes, I already did !

But the problem didn't solve yet.
_________________
/aeh
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3343

PostPosted: Mon Apr 11, 2005 3:40 pm    Post subject: Reply with quote

have you tried
Code:
fixpackages
That might fix it or get you to the point where you can use the fix_lib_tools
_________________
"Sex: breakfast of champions" - James Hunt
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Mon Apr 11, 2005 4:56 pm    Post subject: Reply with quote

Also have a look at this sticky: https://forums.gentoo.org/viewtopic-t-278673.html. In your case I think the problem is that the old version was built with a different CHOST - it's looking for the file in /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la. This command should fix it:
Code:
fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu


Moved from Portage & Programming.
_________________
No-one's more important than the earthworm.
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