Hello,

Many of the build problems I'm having with Gentoo Prefix come from the
fact that gcc/ld has "hardcoded" linker search paths (e.g. -L
/usr/lib/../lib64) coming *before* the gentoo prefix ones (i.e.
$EPREFIX/usr/lib, etc.) and causing many packages to fail emerging on
most Linux distributions (CentOS, RedHat, Mandriva, Ubuntu, even
Gentoo itself) where the system libraries are incompatible.

The only workaround I found is the ugly
LDFLAGS="-l:$EPREFIX/usr/lib/libXXX.so" emerge YYY.

Any thoughts on what what I am doing wrong?

Thanks for your help.

Regards,

Nicolas

Reply via email to