When I try to emerge mod_php-4.3.4-r2, during configure phase first I get error that gettext isn't installed (but it is). With USE="-nls" I get past that, but then configure claims that libiconv should be installed. Iconv is included in glibc. When I go in /var/tmp/portage/mod-php4.3.4/work/php-4.3.4 directory and run configure manually, everything seems OK. I've tried to reduce my USE variable in /etc/make.conf to just "-X -nls", but to no success. Here is verbose output of USE="-nls" emerge -pv mod_php USE="-nls" emerge -pv mod_php These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-php/mod_php-4.3.4-r2 -apache2 +X +crypt -curl -firebird -flash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap -mcal -memlimit +mysql -nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl -tiff +truetype +xml2 -yaz +berkdb [ebuild N ] dev-php/php-4.3.4-r3 +X +crypt -curl -firebird -flash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap -mcal -memlimit +mysql -nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl -tiff +truetype +xml2 -yaz +berkdb +ncurses +readline Reproducible: Always Steps to Reproduce: 1. USE="-nls" emerge mod_php 2. 3. Actual Results: checking for GNU gettext support... no checking for GNU MP support... no checking for hwapi support... no checking for Hyperwave support... no checking for iconv support... yes checking for iconv... no checking for libiconv... no configure: error: Please reinstall the iconv library. !!! ERROR: dev-php/mod_php-4.3.4-r2 failed. !!! Function econf, Line 339, Exitcode 1 !!! econf failed Morfeus root # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r3) ================================================================= System uname: 2.4.22-gentoo-r3 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
attach your config.log php is a major PITA in reporting the wrong problems sometimes.
Created attachment 24285 [details] Config.log file when trying to emerge mod_php command was: USE="-nls informix" emerge -v mod_php
your system is badly inconsitant. firstly you need to run revdep-rebuild to rebuild things since you upgrade to OpenSSL 0.9.7 (please remember to read the postinst messages, they are important sometimes...). Next of all, why the hell do you have a /usr/local/lib/libpthread.so.0 ? if you need it for something, it MUST be linked against the same major version of glibc as you are using (it's linked against 2.0 at the moment)
revdep-rebuild solved the problem. Thanks a lot!! PS. libpthread in /usr/local/lib is from Informix installation.
even if it's from informix, you'll need to have the stuff linked against the same version of glibc as you are using otherwise you may suffer some strange crashes later on.