Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 359017

Summary: kdelibs 4.6.1-r1 compile error
Product: Gentoo Linux Reporter: Rob Davis <rob>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Rob Davis 2011-03-15 13:30:58 UTC
After emerge --update world, the latest version of kdelibs won't compile, thus blocking kde 2.6.1

Reproducible: Always
Comment 1 Rob Davis 2011-03-15 13:31:47 UTC
Created attachment 265957 [details]
build.log
Comment 2 Rob Davis 2011-03-15 13:32:18 UTC
Created attachment 265959 [details]
emerge --info
Comment 3 Rafał Mużyło 2011-03-15 13:43:28 UTC
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /var/tmp/portage/kde-base/kdelibs-4.6.1-r1/work/kdelibs-4.6.1_build/bin/icemaker)

Don't downgrade gcc nor switch to a lower version after you've done emerges with it.
It doesn't affect C programs, but for C++ the result is like above.
Comment 4 Rob Davis 2011-03-15 14:08:46 UTC
Ok, wasn't aware I had done this...

How do I fix it?
Comment 5 Rob Davis 2011-03-15 15:14:16 UTC
Ok found an old copy of libstdc++.so.6 in /usr/lib.. Not sure how it got there.  Moved it and it seems to compile..
Comment 6 Rafał Mużyło 2011-03-15 16:48:21 UTC
(In reply to comment #5)
> Ok found an old copy of libstdc++.so.6 in /usr/lib.. Not sure how it got there.
>  Moved it and it seems to compile..

It seems you want to really break your system.
You should have either used gcc-config to switch to that recent version or revdep-rebuild...well, just about everything that used libstdc++ and was merged while you've used the more recent gcc.