sys-apps/grep with the pcre use flag requires libpcre.a to link (-Wl,-static -lpcre -Wl,-dynamic in the link command). With dev-libs/libpcre-7.0, the static lipcre.a is only built when the static use flag is specified, but grep looks for it even if static is not set ! workaround : USE='static' emerge libpcre && emerge grep possible fix : the grep ebuild should require that static flag for pcre (ugly), or the libpcre ebuild should ship libpcre.a even when static is not specified, or the grep ebuild should patch the source so that it can link with a dynamic libpcre. Reproducible: Always Steps to Reproduce: 1. emerge =dev-libs/libpcre-7.0 2. emerge grep 3. Actual Results: emerge grep fails. Expected Results: emergr grep is sucessful.
Thanks for reporting, fixed in CVS.
*** Bug 176788 has been marked as a duplicate of this bug. ***