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

Bug 491698

Summary: x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crti.o: No such file or directory
Product: Gentoo Linux Reporter: Scott Alfter <scott>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/gcc-upgrading.xml
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge -pqv
build.log

Description Scott Alfter 2013-11-19 19:19:53 UTC
Created attachment 363582 [details]
emerge --info

I had upgraded gcc from 4.6.3 to 4.7.3 a short while ago.  A package I'm trying to build has crypto++ as a dependency, but the ebuild fails when it tries to pull in libraries from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/ (never mind that this is really just /usr/lib64/).
Comment 1 Scott Alfter 2013-11-19 19:20:14 UTC
Created attachment 363584 [details]
emerge -pqv
Comment 2 Scott Alfter 2013-11-19 19:20:32 UTC
Created attachment 363586 [details]
build.log
Comment 3 Scott Alfter 2013-11-19 19:31:04 UTC
This workaround will allow crypto++ to build:

cd /usr/lib/gcc/x86_64-pc-linux-gnu && ln -s 4.7.3 4.6.3
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 20:11:52 UTC
gcc-config -l
gcc-config <new version>
. /etc/profile
<do your thing>