Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22850 - mod_php breaks with a undefined reference to libiconv
Summary: mod_php breaks with a undefined reference to libiconv
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 23415 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-14 21:31 UTC by Eric Olinger
Modified: 2004-08-16 06:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Config.log (emerge.log,246.36 KB, text/plain)
2003-06-24 17:06 UTC, Frank Atteveld
Details
Emerge log (emerge.log,246.36 KB, text/plain)
2003-06-24 17:06 UTC, Frank Atteveld
Details
emerge info results (emerge.info,1.15 KB, application/octet-stream)
2003-06-25 11:34 UTC, Eric Olinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Olinger 2003-06-14 21:31:27 UTC
Tried emerging mod_php on my stable system and it failed with a reference to
libiconv, which should be part of glibc.

Reproducible: Always
Steps to Reproduce:
1. emerge mod_php

Actual Results:  
: undefined reference to `libiconv_open'
ext/iconv/iconv.lo(.text+0xa09): In function `php_iconv_string':
: undefined reference to `libiconv'
ext/iconv/iconv.lo(.text+0xa3b): In function `php_iconv_string':
: undefined reference to `libiconv'
ext/iconv/iconv.lo(.text+0xa5f): In function `php_iconv_string':
: undefined reference to `libiconv_close'
ext/xmlrpc/libxmlrpc/encodings.lo(.text+0xf2): In function `convert':
: undefined reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/encodings.lo(.text+0x163): In function `convert':
: undefined reference to `libiconv'
ext/xmlrpc/libxmlrpc/encodings.lo(.text+0x178): In function `convert':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.2 failed.
!!! Function php_src_compile, Line 330, Exitcode 2
!!! compile problem

Expected Results:  
Should install.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-19 00:49:00 UTC
Could you please attach the ENTIRE output of the 'emerge mod_php' operation, as well as 'emerge info'. Also attach the relevant /var/log/mod_php-*/work/php-*/config.log file.

the iconv functions are part of glibc, but there is no 'libiconv' (the name is a relic from really old glibcs, not found in modern releases).
Comment 2 SpanKY gentoo-dev 2003-06-24 15:55:55 UTC
*** Bug 23415 has been marked as a duplicate of this bug. ***
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-24 16:35:54 UTC
For the person with the duplicate bug,
could you please follow the instructions here and post up the required data, as the previous submitted didn't.
Comment 4 Frank Atteveld 2003-06-24 16:48:18 UTC
I can't give you the configlog. The dir isn't there simply. I run syslog-ng, may be that has something to do with it. Anyway:

Emerge info:

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm gtk imlib jpeg kde gno
me libg++ mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png quicktim
e sdl slang spell svga truetype xml2 xmms xv zlib gdbm berkdb readline tetex tcp
d pam libwww ssl perl python esd snmp -X -qt -java mysql gd imap"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CXXFLAGS="-march=pentium4 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-24 16:59:23 UTC
whoops, my bad, I typod the directory
/var/tmp/portage/mod_php-*/work/php-*/config.log
/var/tmp/portage/php-*/work/php-*/config.log

I would also like the entire output of the emerge command.

I recommend doing it as :
"emerge PACKAGENAME 2>&1 | tee outputfile"
Comment 6 Frank Atteveld 2003-06-24 17:06:02 UTC
Created attachment 13805 [details]
Config.log

Config.log here
Comment 7 Frank Atteveld 2003-06-24 17:06:50 UTC
Created attachment 13806 [details]
Emerge log

Emerge log
Comment 8 Eric Olinger 2003-06-24 17:56:37 UTC
I've been trying to get a new log file genterated but the current ebuild insists
on installing apache 1.x even tho I have apache2 installed and the 
apache2 USE flag.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-24 21:00:30 UTC
Eric:
Please post your 'emerge info' output and try the latest 4.3.2-r2 of mod_php. 
4.3.2-r2 is intended for Apache2 users at present.

Frank: I'm wondering where the 'libiconv' is coming from.
Could you please do:
cd /
grep -ril 'libiconv' * > OUTPUTFILE

And attach that output here?

Also, your previous capture didn't include the error that you got, it stopped just before that.
so let's try that part again as well
( emerge mod_php 2>&1 3>&1 4&>1 ) 2>&1 3>&1 4&>1  | tee LOGFILE
Comment 10 Frank Atteveld 2003-06-25 03:54:30 UTC
i/apache/php_apache.c -o sapi/apache/php_apache.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Imain/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c main/internal_functions.c -o main/internal_functions.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Isapi/cli/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/sapi/cli/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/sapi/cli/php_cli.c -o sapi/cli/php_cli.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Isapi/cli/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/sapi/cli/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/sapi/cli/getopt.c -o sapi/cli/getopt.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Imain/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c main/internal_functions_cli.c -o main/internal_functions_cli.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=link gcc -march=pentium4 -O3 -pipe -prefer-pic  -rpath /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libs -export-symbols /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/sapi/apache/php.sym -avoid-version -module   ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bcmath/bcmath.lo ext/bcmath/number.lo ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo ext/bcmath/libbcmath/src/str2num.lo ext/bz2/bz2.lo ext/calendar/calendar.lo ext/calendar/dow.lo ext/calendar/french.lo ext/calendar/gregor.lo ext/calendar/jewish.lo ext/calendar/julian.lo ext/calendar/easter.lo ext/calendar/cal_unix.lo ext/crack/crack.lo ext/ctype/ctype.lo ext/dba/dba.lo ext/dba/dba_cdb.lo ext/dba/dba_db2.lo ext/dba/dba_dbm.lo ext/dba/dba_gdbm.lo ext/dba/dba_ndbm.lo ext/dba/dba_db3.lo ext/dba/dba_db4.lo ext/dba/dba_flatfile.lo ext/dba/libcdb/cdb.lo ext/dba/libcdb/cdb_make.lo ext/dba/libcdb/uint32.lo ext/dba/libflatfile/flatfile.lo ext/dbase/dbf_head.lo ext/dbase/dbf_rec.lo ext/dbase/dbf_misc.lo ext/dbase/dbf_ndx.lo ext/dbase/dbase.lo ext/dbx/dbx.lo ext/dbx/dbx_mysql.lo ext/dbx/dbx_odbc.lo ext/dbx/dbx_pgsql.lo ext/dbx/dbx_mssql.lo ext/dbx/dbx_fbsql.lo ext/dbx/dbx_oci8.lo ext/dbx/dbx_sybasect.lo ext/dio/dio.lo ext/domxml/php_domxml.lo ext/exif/exif.lo ext/filepro/filepro.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/gettext/gettext.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/mcrypt/mcrypt.lo ext/mhash/mhash.lo ext/mime_magic/mime_magic.lo ext/mysql/php_mysql.lo ext/openssl/openssl.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/pdf/pdf.lo ext/posix/posix.lo ext/pspell/pspell.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/shmop/shmop.lo ext/snmp/snmp.lo ext/sockets/sockets.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/sysvsem/sysvsem.lo ext/sysvshm/sysvshm.lo ext/tokenizer/tokenizer.lo ext/wddx/wddx.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo ext/xmlrpc/xmlrpc-epi-php.lo ext/xmlrpc/libxmlrpc/base64.lo ext/xmlrpc/libxmlrpc/simplestring.lo ext/xmlrpc/libxmlrpc/xml_to_dandarpc.lo ext/xmlrpc/libxmlrpc/xmlrpc_introspection.lo ext/xmlrpc/libxmlrpc/encodings.lo ext/xmlrpc/libxmlrpc/system_methods.lo ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.lo ext/xmlrpc/libxmlrpc/queue.lo ext/xmlrpc/libxmlrpc/xml_element.lo ext/xmlrpc/libxmlrpc/xmlrpc.lo ext/xmlrpc/libxmlrpc/xml_to_soap.lo ext/xslt/xslt.lo ext/xslt/sablot.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lc-client -lssl -lcrypto -lsablot -lexpat -lexpat -lcrypt -lpspell -lpdf -lz -lpng -ljpeg -lmysqlclient -lmhash -lmcrypt -lltdl -lcrypt -lpam -lxsltbreakpoint -lxml2 -lxslt -lz -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lnsl -lxmlparse -lxmltok -lxml2 -lz -lm -lnetsnmp -lcrypto -lm -lcrypt -lcrypt  -o libphp4.la
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -march=pentium4 -O3 -pipe  -export-symbols /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/sapi/apache/php.sym -avoid-version -module   ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bcmath/bcmath.lo ext/bcmath/number.lo ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo ext/bcmath/libbcmath/src/str2num.lo ext/bz2/bz2.lo ext/calendar/calendar.lo ext/calendar/dow.lo ext/calendar/french.lo ext/calendar/gregor.lo ext/calendar/jewish.lo ext/calendar/julian.lo ext/calendar/easter.lo ext/calendar/cal_unix.lo ext/crack/crack.lo ext/ctype/ctype.lo ext/dba/dba.lo ext/dba/dba_cdb.lo ext/dba/dba_db2.lo ext/dba/dba_dbm.lo ext/dba/dba_gdbm.lo ext/dba/dba_ndbm.lo ext/dba/dba_db3.lo ext/dba/dba_db4.lo ext/dba/dba_flatfile.lo ext/dba/libcdb/cdb.lo ext/dba/libcdb/cdb_make.lo ext/dba/libcdb/uint32.lo ext/dba/libflatfile/flatfile.lo ext/dbase/dbf_head.lo ext/dbase/dbf_rec.lo ext/dbase/dbf_misc.lo ext/dbase/dbf_ndx.lo ext/dbase/dbase.lo ext/dbx/dbx.lo ext/dbx/dbx_mysql.lo ext/dbx/dbx_odbc.lo ext/dbx/dbx_pgsql.lo ext/dbx/dbx_mssql.lo ext/dbx/dbx_fbsql.lo ext/dbx/dbx_oci8.lo ext/dbx/dbx_sybasect.lo ext/dio/dio.lo ext/domxml/php_domxml.lo ext/exif/exif.lo ext/filepro/filepro.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/gettext/gettext.lo ext/iconv/iconv.lo ext/imap/php_imap.lo ext/mcrypt/mcrypt.lo ext/mhash/mhash.lo ext/mime_magic/mime_magic.lo ext/mysql/php_mysql.lo ext/openssl/openssl.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/pdf/pdf.lo ext/posix/posix.lo ext/pspell/pspell.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/shmop/shmop.lo ext/snmp/snmp.lo ext/sockets/sockets.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/sysvsem/sysvsem.lo ext/sysvshm/sysvshm.lo ext/tokenizer/tokenizer.lo ext/wddx/wddx.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo ext/xmlrpc/xmlrpc-epi-php.lo ext/xmlrpc/libxmlrpc/base64.lo ext/xmlrpc/libxmlrpc/simplestring.lo ext/xmlrpc/libxmlrpc/xml_to_dandarpc.lo ext/xmlrpc/libxmlrpc/xmlrpc_introspection.lo ext/xmlrpc/libxmlrpc/encodings.lo ext/xmlrpc/libxmlrpc/system_methods.lo ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.lo ext/xmlrpc/libxmlrpc/queue.lo ext/xmlrpc/libxmlrpc/xml_element.lo ext/xmlrpc/libxmlrpc/xmlrpc.lo ext/xmlrpc/libxmlrpc/xml_to_soap.lo ext/xslt/xslt.lo ext/xslt/sablot.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lc-client -lssl -lcrypto -lsablot -lexpat -lexpat -lcrypt -lpspell -lpdf -lz -lpng -ljpeg -lmysqlclient -lmhash -lmcrypt -lltdl -lcrypt -lpam -lxsltbreakpoint -lxml2 -lxslt -lz -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lnsl -lxmlparse -lxmltok -lxml2 -lz -lm -lnetsnmp -lcrypto -lm -lcrypt -lcrypt  -o sapi/cli/php
/usr/lib/libc-client.a(osdep.o)(.text+0x9b48): In function `ssl_onceonlyinit':
/var/tmp/portage/uw-imap-2002d/work/imap-2002d/c-client/osdep.c:287: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/iconv/iconv.lo(.text+0x974): In function `php_iconv_string':
: undefined reference to `libiconv_open'
ext/iconv/iconv.lo(.text+0x9c3): In function `php_iconv_string':
: undefined reference to `libiconv'
ext/iconv/iconv.lo(.text+0x9f7): In function `php_iconv_string':
: undefined reference to `libiconv'
ext/iconv/iconv.lo(.text+0xa1b): In function `php_iconv_string':
: undefined reference to `libiconv_close'
ext/xmlrpc/libxmlrpc/encodings.lo(.text+0xdc): In function `convert':
: undefined reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/encodings.lo(.text+0x14c): In function `convert':
: undefined reference to `libiconv'
ext/xmlrpc/libxmlrpc/encodings.lo(.text+0x163): In function `convert':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.2 failed.
!!! Function php_src_compile, Line 342, Exitcode 2
!!! compile problem

That's all I can give you. 

The other question gave me this:

grep -ril 'libiconv' * > OUTPUTFILE
grep: warning: boot/boot: recursive directory loop

grep: dev/.devfsd: Operation not permitted

Comment 11 Eric Olinger 2003-06-25 11:34:22 UTC
Created attachment 13848 [details]
emerge info results

Attached my emerge info results.

Tried the mod_php-4.3.2-r2 and it failed with the same compile error.
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-25 21:37:41 UTC
Frank/Eric:
could both of you please search your systems for any reference to libiconv?
( for i in `find / \( -name '*.so' -o -name '*.a' -o -perm +111 \) -xtype f`; do
echo FIND:$i 1>&2
nm $i |grep -i libiconv
done; ) 2>&1 3>&1 4>&1 | tee outputfile

and attach that outputfile ?

I want to find where libiconv is being pulled in from.
Comment 13 Frank Atteveld 2003-06-26 02:36:47 UTC
That command does not work:

-bash: syntax error near unexpected token `)'
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 11:48:45 UTC
It works fine for me Frank.
I suspect you may have left off the '(' at the start of the first line.
Just copy and paste all 4 lines to a terminal.
Comment 15 Eric Olinger 2003-06-26 12:15:02 UTC
The only references that nm can find on my system is in 
/usr/lib/libaprutil-0.so, /usr/lib/libaprutil-0.a, and /usr/lib/libiconv.so.

It seems that most of my symbols are stripped on this box. I didn't ever 
expect to be debuging on this box.

I was looking throught the /ext/iconv/iconv.c and I found a reference to
if glibc is found then include gnu/libc-version.h, but libc-version.h nor
the features.h it includes has any reference to any of the libiconv functions.

Don't know if it'd be anything to do with the glibc-2.3.1-r4 that is installed
on this box? Don't know if that helps at all or if I'm even on the right track.
Comment 16 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 12:30:55 UTC
Whoa.
/usr/lib/libiconv.so should not be there.

could you please do:
emerge -u gentoolkit
qpkg -f /usr/lib/libiconv.so

that should show what package it belongs to.
could you paste up that answer here, and then also do:
"emerge -p PACKAGENAME" with the package name that qpkg gave you?
Comment 17 Frank Atteveld 2003-06-26 12:47:36 UTC
Tychon root # emerge -u gentoolkit

Calculating dependencies ...done!
>>> Recording app-admin/gentoolkit in "world" favorites file...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

Tychon root #
Tychon root # qpkg -f /usr/lib/libiconv.so
dev-libs/libiconv *
Tychon root # emerge -p libiconv

These are the packages that I would merge, in order:

Calculating dependencies
!!! all ebuilds that could satisfy "libiconv" have been masked.

!!! Error calculating dependencies. Please correct.
Tychon root #
Comment 18 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 12:57:39 UTC
Both of you,
"emerge unmerge libiconv"
emerge mod_php
Comment 19 Frank Atteveld 2003-06-26 13:01:53 UTC
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dba/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/libcdb/cdb.c -o ext/dba/libcdb/cdb.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dba/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/libcdb/cdb_make.c -o ext/dba/libcdb/cdb_make.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dba/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/libcdb/uint32.c -o ext/dba/libcdb/uint32.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dba/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dba/libflatfile/flatfile.c -o ext/dba/libflatfile/flatfile.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbase/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/dbf_head.c -o ext/dbase/dbf_head.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbase/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/dbf_rec.c -o ext/dbase/dbf_rec.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbase/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/dbf_misc.c -o ext/dbase/dbf_misc.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbase/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/dbf_ndx.c -o ext/dbase/dbf_ndx.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbase/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbase/dbase.c -o ext/dbase/dbase.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx.c -o ext/dbx/dbx.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_mysql.c -o ext/dbx/dbx_mysql.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_odbc.c -o ext/dbx/dbx_odbc.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_pgsql.c -o ext/dbx/dbx_pgsql.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_mssql.c -o ext/dbx/dbx_mssql.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_fbsql.c -o ext/dbx/dbx_fbsql.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_oci8.c -o ext/dbx/dbx_oci8.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dbx/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dbx/dbx_sybasect.c -o ext/dbx/dbx_sybasect.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dio/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dio/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/dio/dio.c -o ext/dio/dio.lo
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/domxml/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/domxml/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/domxml/php_domxml.c -o ext/domxml/php_domxml.lo
In file included from /usr/include/libxml2/libxml/parser.h:649,
                 from /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/domxml/php_domxml.h:25,
                 from /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/domxml/php_domxml.c:33:
/usr/include/libxml2/libxml/encoding.h:27:19: iconv.h: No such file or directory
In file included from /usr/include/libxml2/libxml/parser.h:649,
                 from /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/domxml/php_domxml.h:25,
                 from /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/domxml/php_domxml.c:33:
/usr/include/libxml2/libxml/encoding.h:132: parse error before "iconv_t"
/usr/include/libxml2/libxml/encoding.h:132: warning: no semicolon at end of struct or union
/usr/include/libxml2/libxml/encoding.h:133: warning: data definition has no type or storage class
/bin/sh /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/exif/ -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/exif/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/include -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/main -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2 -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/imap -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/TSRM  -march=pentium4 -O3 -pipe  -prefer-pic -c /var/tmp/portage/mod_php-4.3.2/work/php-4.3.2/ext/exif/exif.c -o ext/exif/exif.lo
make: *** [ext/domxml/php_domxml.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.2 failed.
!!! Function php_src_compile, Line 342, Exitcode 2
!!! compile problem
Comment 20 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 13:04:01 UTC
You're not going to like me, but since dev-libs/libiconv overwrote parts of glibc, you'll have to reinstall glibc.
You might be able to get away with
"emerge -k glibc"
but if that fails
it's a full
"emerge glibc" you need.
Comment 21 Frank Atteveld 2003-06-26 13:09:47 UTC
Well, can you tell me the risks of doing that. This is a production machine so I hope you understand I can not permit any downtime. Thnx in advance :)
Comment 22 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 13:34:20 UTC
run 'emerge -pk sys-libs/glibc'
if you get output like this:
"[binary   R  ] sys-libs/glibc-2.3.2-r1"

If it wants to upgrade you, then try:
emerge -pk '=sys-libs/glibc-YOURCURRENTVERSION'

If you have binary as the first keyword, then it's good so far.
If it is 'ebuild', then run: 'emerge -B sys-libs/glibc' (you might need to specify the version again).

At the first available chance, then do:
"emerge -K sys-libs/glibc" (again with your version specified if you need it).

Depending how your system is set up, and how fast it is, the window for things not working quite right is a few seconds, and should only affect new processes from spawning correctly.

Again, depending how the system is set up, the unmerge command might be causing problems already, so doing this very soon is advisable.

dev-libs/libiconv should have never made it to the tree, due to the problems it causes with other programs (including gnome-vfs and evolution).
Comment 23 Eric Olinger 2003-06-26 13:38:57 UTC
I can't find what installed libiconv. I grepped all of hte /usr/portage
and my /var/db/pkg and nothing comes up. What ever I installed that pulled it as
a depencancy is no longer on my system.
Comment 24 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 13:40:15 UTC
Eric: either way, unmerge libiconv and then mod_php should emerge fine.
Comment 25 Eric Olinger 2003-06-26 13:44:31 UTC
Uninstalled libiconv, re-emerged glibc, and emerged mod_php. It worked. I
just usally like to find out why it happened so I can avoid it next time. But
this one looks like a mystery.
Comment 26 Frank Atteveld 2003-06-26 14:28:10 UTC
That did it :) Great
Comment 27 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 15:28:22 UTC
Resolved.
Comment 28 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 15:28:38 UTC
Verified by users.
Comment 29 Stuart Herbert (RETIRED) gentoo-dev 2004-08-16 06:01:04 UTC
Closing (very) old bug.