i was emerging world and i got an error that
"i686-pc-linux-gnu-ar" was not found
how can i find out which package yields "i686-pc-linux-gnu-ar". i tried an
equery belongs i686-pc-linux-gnu-ar
and it found nothing. any ideas?


Code: Select all
# ls -al i686-pc-linux-gnu-ar
lrwxrwxrwx 1 root root 27 Jan 5 02:15 i686-pc-linux-gnu-ar -> ../i686-pc-linux-gnu/bin/ar
jmd0 bin # pwd
/usr/bin

binutils-config helps in cases like these (works similar to gcc-config, and of course requires a env-update && source /etc/profile just like gcc-config).afrodocter1 wrote:thanks, i re-emerged binutils and it fixed the problem. i assume that ar was installed but the symlink was missing.
That's not possible in the general case by the very nature of Gentoo, but you can get good results by making educated guesses (for example, search for the file in the packages from binary distributions, using search engines like rpmfind.net, then try that package name with Gentoo, perhaps dropping the -devel or lib-something affixes).afrodocter1 wrote:but i was wondering how i could find out which package provided that file with out having it installed.