#43189 [NEW]: Fails to link iconv

From: Date: Sun, 04 Nov 2007 23:33:11 +0000
Subject: #43189 [NEW]: Fails to link iconv
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-119273@lists.php.net to get a copy of this message
From: meh at mailinator dot com Operating system: Mac OS X 10.5 PHP version: 5.3CVS-2007-11-04 (snap) PHP Bug Type: Compile Failure Bug description: Fails to link iconv Description: ------------ ld: warning, duplicate dylib /sw/lib/libssl.0.9.7.dylib ld: warning, duplicate dylib /sw/lib/libcrypto.0.9.7.dylib Undefined symbols: "_iconv_close", referenced from: _php_iconv_string in iconv.o _php_iconv_string in iconv.o __php_iconv_strlen in iconv.o __php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_substr in iconv.o _php_iconv_stream_filter_dtor in iconv.o _zif_iconv_mime_encode in iconv.o _zif_iconv_mime_encode in iconv.o "_iconv_open", referenced from: _php_iconv_string in iconv.o __php_iconv_strlen in iconv.o __php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_stream_filter_factory_create in iconv.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Reproduce code: --------------- ./configure --with-apxs2 --with-xsl --with-mysql=/sw --with-pdo --with-pdo-mysql=/sw --with-zlib --without-pear --with-iconv=/sw I've tried --with-iconv and --with-iconv=/usr as well. Configure succeedes with any of these, but linker fails every time. I have Fink installed: /sw/lib/libiconv.2.4.0.dylib /sw/lib/libiconv.2.dylib /sw/lib/libiconv.dylib /sw/lib/libiconv.la Expected result: ---------------- Either configure should fail or linker should succeed. Actual result: -------------- Missing symbols... -- Edit bug report at http://bugs.php.net/?id=43189&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43189&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43189&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43189&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43189&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43189&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43189&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43189&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43189&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43189&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43189&r=support Expected behavior: http://bugs.php.net/fix.php?id=43189&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43189&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43189&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43189&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43189&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43189&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43189&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43189&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43189&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43189&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43189&r=mysqlcfg

« previous php.bugs (#119273) next »