Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installed gcc 4.1.1, now 3.4.6 isnt happy..
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
brianahr
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 236
Location: USA

PostPosted: Tue Nov 14, 2006 4:18 am    Post subject: installed gcc 4.1.1, now 3.4.6 isnt happy.. Reply with quote

For a project I am working on, I needed to install a copy of gcc 4.1.1, to make sure the code would compile with it. So I emerged it, and thought I could just use gcc-config to switch to the older compiler. The problem is, a few libraries which I compiled with 3.4.6 after installing 4.1.1 dont work. I get this out to the terminal:

Code:
/opt/work/a.out: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6: version `GLIBCXX_3.4.5' not found (required by /opt/work/lib/libpangomm.so)


As specified in the ebuild, I ran the fix_libtool_files.sh, but that didnt fix the problem. I've re-emerged gcc-3.4.6-r1, but its still a no go. Does anyone know whats going on? Thanks.
_________________
no matter how you legislate, information wants to be free.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Tue Nov 14, 2006 4:21 am    Post subject: Reply with quote

Just a guess out of the dark, maybe try
Code:
revdep-rebuild
Back to top
View user's profile Send private message
brianahr
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 236
Location: USA

PostPosted: Tue Nov 14, 2006 4:45 am    Post subject: Reply with quote

I dont intend to use 4.1.1 as the system compiler. I only wanted to use it to develop on this program. I've also noticed after using gcc-config and starting a new shell, the system compiler is still set as 4.1.1. But I dont want the system to use that. Also, there are libraries in /opt/ that I can rebuild manually, but arent managed by emerge. Its those libraries I am currently having problems with, even after rebuilding them, it doesnt work. What to do...

-- edit --
Well, I couldnt make it work, so I just emerge -C 'd 4.1.1. I didnt compile any packages with it, only the software Im working on. Just to be sure I recompiled libtool and libstdc++-v3, and my software, and everything seems to be working again.
_________________
no matter how you legislate, information wants to be free.
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