Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491698 - 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
Summary: x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.gentoo.org/doc/en/gcc-upgr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 19:19 UTC by Scott Alfter
Modified: 2013-11-19 20:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,5.56 KB, text/plain)
2013-11-19 19:19 UTC, Scott Alfter
Details
emerge -pqv (emerge-pqv,168 bytes, text/plain)
2013-11-19 19:20 UTC, Scott Alfter
Details
build.log (build.log,52.26 KB, text/plain)
2013-11-19 19:20 UTC, Scott Alfter
Details

Note You need to log in before you can comment on or make changes to this bug.
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>