The compilation went all good but when starting apache compiled with LDFLAGS enabled I got "cannot open shared library libaprutil.0.so.0" or something like that. Compiling whitout the LDFLAGS make apache run again. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: apache fail to start when compiled with LDFLAGS. Expected Results: It should work :) but LDFLAGS are sort of experimental, so I should not complain to much. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 09:38:03)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://mir.zyrianes.net/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" MAKEOPTS="-j2" PKGDIR="/var/tmp/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://naru.rezid.net/gentoo-portage" USE="x86 3dnow acl alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts crypt emboss encode foomaticdb gd gdbm gif gpm imlib ipv6 javascript jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam parse-clocks pcre pdflib perl php png postgres python quicktime readline samba slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
LDFLAGS usage is not supported. If you use them, and things break, you get to keep the pieces.
Is there a way to activate or desactivate LDFLAGS through a /etc/portage/package.something file.