Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Nicolas Pinto <nicolas.pinto@...>
Subject: Prefix: how to prevent the linker to prepend -L/usr/lib/../lib64 ?
Date: Sun, 23 Oct 2011 21:47:22 -0400
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


Replies:
Re: Prefix: how to prevent the linker to prepend -L/usr/lib/../lib64 ?
-- Martin Luessi
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Gentoo Prefix: getting around the "Your OpenSSL headers do not match your library" configure error.
Next by thread:
Re: Prefix: how to prevent the linker to prepend -L/usr/lib/../lib64 ?
Previous by date:
Re: permission test
Next by date:
Re: Prefix: how to prevent the linker to prepend -L/usr/lib/../lib64 ?


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.