Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469150 - gcc-config doesn't see /usr/bin/lib whereas configure did - error: could not run/locate 'lib'
Summary: gcc-config doesn't see /usr/bin/lib whereas configure did - error: could not ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 468540
  Show dependency tree
 
Reported: 2013-05-09 10:12 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2013-05-09 17:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-09 10:12:29 UTC
See bug #468540, because /usr/bin/lib is seen (checking for lib... /usr/bin/lib) it doesn't consider /usr/bin/ar and one would assume it to then succeed to compile with /usr/bin/lib. However, once it calls /usr/bin/lib we are presented with the error:

> gcc-config: error: could not run/locate 'lib'

We'll temporary remove tlib and lib from the detection such that it always picks /usr/bin/ar until this is resolved, please let us know if there are more appropritae fixes available for this.
Comment 1 SpanKY gentoo-dev 2013-05-09 16:02:32 UTC
i have no idea what you're talking about.  gcc-config nor gcc install a `lib` or `tlib` symlink in /usr/bin/.  if people are randomly doing:
$ sudo ln -s ar /usr/bin/lib

then i don't care.  that's stupid and won't work.
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-09 17:01:48 UTC
Confirmed with pfl that nothing installs lib or tlib; seems like something outside of the Portage tree, I'll ask in the other bug how that got there.