Bug #31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
Edit report at http://bugs.php.net/bug.php?id=31193edit=1 ID: 31193 Comment by: wolfgang_weber at gmx dot at Reported by: david at cubbieco dot com Summary: iconv.c:254 undefined reference to 'libiconv' Status: No Feedback Type: Bug Package: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: This problem still exists on CentOS 5.4 (64bit), when you try to build PHP 5.3.2 with PHP-FPM-Patch from SVN. My config: ./configure \ --with-config-file-path=/etc \ --with-config-file-scan-dir=/etc/php.d \ --cache-file=config.cache \ --with-system-tzdata \ --disable-debug \ --disable-posix \ --disable-safe-mode \ --disable-magic-quotes \ --disable-pdo \ --disable-sqlite \ --disable-phar \ --disable-dba \ --without-sqlite \ --without-pdo-sqlite \ --enable-fpm \ --enable-fastcgi \ --with-fpm-bin=/usr/bin/php-cgi \ --with-fpm-port=9000 \ --with-fpm-conf=/etc/php-fpm.conf \ --with-fpm-log=/var/log/php-fpm.log \ --with-fpm-pid=/var/run/php-fpm.pid \ --with-fpm-user=nobody \ --with-fpm-group=nobody \ --enable-ftp \ --enable-mbstring \ --enable-mbregex \ --enable-zip \ --enable-calendar \ --enable-bcmath \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pcre-regex=/opt/pcre \ --with-curl=/opt/curl \ --with-zlib=/opt/zlib \ --with-mcrypt \ --with-ttf \ --with-t1lib=/opt/t1lib \ --with-jpeg-dir=/usr/lib64 \ --with-png-dir=/usr/lib64 \ --with-gd \ --enable-gd-native-ttf When I added --without-iconv, not only configure but also make was successful. Unfortunately make test failed with: output buffering - fatalism [tests/output/ob_011.phpt] Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt] Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt] Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt] Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_2.phpt] Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_3.phpt] SimpleXML: array casting bug [ext/simplexml/tests/034.phpt] Bugreport already automatically posted to qa.php.net /buildtest-process.php Regards Wolfgang Previous Comments: [2008-11-25 00:52:51] justincase at mailcatch dot com Run configure like this: [r...@david php-5.0.3]# ./configure CFLAGS=-liconv [2008-06-12 14:01:06] spadefinger at hotmail dot com PHP version 5.2.6 on VectorLinux 5.8 deault configure gives error as earlier posts. Using ./configure --without-libiconv did not work, adding -liconv to the EXTRA_LIBS did not work. Used ./configure --without-iconv to get past the errors. [2008-02-23 16:47:58] kspetter at curreyadkinscook dot com What did you add in the EXTRA_LIBS variable? I'm having the same issue with version 5.2.5 as well and I can also tell that it's looking for a different area for the libary even if I'm doing a --with-iconv=dirname If someone can point out what they did I'll be glad to test out if it resolves it for me as well. [2008-02-18 14:55:47] bugs dot php dot net at michaelrack dot de Same Problem here in v5.2.5. libiconv exists on my Gentoo Base 2007.1 System. PHP automaticly derminates the location of libiconv and compile against this library. The Configure-Script have to add -liconv to the EXTRA_LIBS variable. After i've added this library to the EXTRA_LIBS variable, PHP compiles without a error-message. Another solution is --without-libiconv ... but there is still a bug in the configure-script! Kind regards, Michael Rack http://www.michaelrack.de [2008-02-17 18:53:26] marrtins at hackers dot lv undefined reference to `libiconv_open' php 5.2.5, slackware 10 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=31193 -- Edit this bug report at http://bugs.php.net/bug.php?id=31193edit=1
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: justincase at mailcatch dot com Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: Run configure like this: [EMAIL PROTECTED] php-5.0.3]# ./configure CFLAGS=-liconv Previous Comments: [2008-06-12 14:01:06] spadefinger at hotmail dot com PHP version 5.2.6 on VectorLinux 5.8 deault configure gives error as earlier posts. Using ./configure --without-libiconv did not work, adding -liconv to the EXTRA_LIBS did not work. Used ./configure --without-iconv to get past the errors. [2008-02-23 16:47:58] kspetter at curreyadkinscook dot com What did you add in the EXTRA_LIBS variable? I'm having the same issue with version 5.2.5 as well and I can also tell that it's looking for a different area for the libary even if I'm doing a --with-iconv=dirname If someone can point out what they did I'll be glad to test out if it resolves it for me as well. [2008-02-18 14:55:47] bugs dot php dot net at michaelrack dot de Same Problem here in v5.2.5. libiconv exists on my Gentoo Base 2007.1 System. PHP automaticly derminates the location of libiconv and compile against this library. The Configure-Script have to add -liconv to the EXTRA_LIBS variable. After i've added this library to the EXTRA_LIBS variable, PHP compiles without a error-message. Another solution is --without-libiconv ... but there is still a bug in the configure-script! Kind regards, Michael Rack http://www.michaelrack.de [2008-02-17 18:53:26] marrtins at hackers dot lv undefined reference to `libiconv_open' php 5.2.5, slackware 10 [2007-11-15 08:57:10] fr33z at inmail dot cz I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31193 -- Edit this bug report at http://bugs.php.net/?id=31193edit=1
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: spadefinger at hotmail dot com Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: PHP version 5.2.6 on VectorLinux 5.8 deault configure gives error as earlier posts. Using ./configure --without-libiconv did not work, adding -liconv to the EXTRA_LIBS did not work. Used ./configure --without-iconv to get past the errors. Previous Comments: [2008-02-23 16:47:58] kspetter at curreyadkinscook dot com What did you add in the EXTRA_LIBS variable? I'm having the same issue with version 5.2.5 as well and I can also tell that it's looking for a different area for the libary even if I'm doing a --with-iconv=dirname If someone can point out what they did I'll be glad to test out if it resolves it for me as well. [2008-02-18 14:55:47] bugs dot php dot net at michaelrack dot de Same Problem here in v5.2.5. libiconv exists on my Gentoo Base 2007.1 System. PHP automaticly derminates the location of libiconv and compile against this library. The Configure-Script have to add -liconv to the EXTRA_LIBS variable. After i've added this library to the EXTRA_LIBS variable, PHP compiles without a error-message. Another solution is --without-libiconv ... but there is still a bug in the configure-script! Kind regards, Michael Rack http://www.michaelrack.de [2008-02-17 18:53:26] marrtins at hackers dot lv undefined reference to `libiconv_open' php 5.2.5, slackware 10 [2007-11-15 08:57:10] fr33z at inmail dot cz I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? [2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com This problem still occurs in v5.2.4. It's been 3 years now. Does someone plan to fix this? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31193 -- Edit this bug report at http://bugs.php.net/?id=31193edit=1
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: kspetter at curreyadkinscook dot com Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: What did you add in the EXTRA_LIBS variable? I'm having the same issue with version 5.2.5 as well and I can also tell that it's looking for a different area for the libary even if I'm doing a --with-iconv=dirname If someone can point out what they did I'll be glad to test out if it resolves it for me as well. Previous Comments: [2008-02-18 14:55:47] bugs dot php dot net at michaelrack dot de Same Problem here in v5.2.5. libiconv exists on my Gentoo Base 2007.1 System. PHP automaticly derminates the location of libiconv and compile against this library. The Configure-Script have to add -liconv to the EXTRA_LIBS variable. After i've added this library to the EXTRA_LIBS variable, PHP compiles without a error-message. Another solution is --without-libiconv ... but there is still a bug in the configure-script! Kind regards, Michael Rack http://www.michaelrack.de [2008-02-17 18:53:26] marrtins at hackers dot lv undefined reference to `libiconv_open' php 5.2.5, slackware 10 [2007-11-15 08:57:10] fr33z at inmail dot cz I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? [2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com This problem still occurs in v5.2.4. It's been 3 years now. Does someone plan to fix this? [2007-07-24 09:09:29] janarbek at icu dot ac dot kr I tried to install Php5.2.3 on Fedora 4 with Apache 2 if you add -liconv to EXTRA_LIBS then make works fine. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31193 -- Edit this bug report at http://bugs.php.net/?id=31193edit=1
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: bugs dot php dot net at michaelrack dot de Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: Same Problem here in v5.2.5. libiconv exists on my Gentoo Base 2007.1 System. PHP automaticly derminates the location of libiconv and compile against this library. The Configure-Script have to add -liconv to the EXTRA_LIBS variable. After i've added this library to the EXTRA_LIBS variable, PHP compiles without a error-message. Another solution is --without-libiconv ... but there is still a bug in the configure-script! Kind regards, Michael Rack http://www.michaelrack.de Previous Comments: [2008-02-17 18:53:26] marrtins at hackers dot lv undefined reference to `libiconv_open' php 5.2.5, slackware 10 [2007-11-15 08:57:10] fr33z at inmail dot cz I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? [2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com This problem still occurs in v5.2.4. It's been 3 years now. Does someone plan to fix this? [2007-07-24 09:09:29] janarbek at icu dot ac dot kr I tried to install Php5.2.3 on Fedora 4 with Apache 2 if you add -liconv to EXTRA_LIBS then make works fine. [2007-05-15 09:16:11] weber at lviv dot farlep dot net Latest PHP 5.2.2. Faced the same problem on RHES4. My options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-xml --with-dom --enable-sockets --enable-ftp Even I compiled clean libiconv the problem persists. Solution was the same as described in the first post. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31193 -- Edit this bug report at http://bugs.php.net/?id=31193edit=1
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: marrtins at hackers dot lv Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: undefined reference to `libiconv_open' php 5.2.5, slackware 10 Previous Comments: [2007-11-15 08:57:10] fr33z at inmail dot cz I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? [2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com This problem still occurs in v5.2.4. It's been 3 years now. Does someone plan to fix this? [2007-07-24 09:09:29] janarbek at icu dot ac dot kr I tried to install Php5.2.3 on Fedora 4 with Apache 2 if you add -liconv to EXTRA_LIBS then make works fine. [2007-05-15 09:16:11] weber at lviv dot farlep dot net Latest PHP 5.2.2. Faced the same problem on RHES4. My options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-xml --with-dom --enable-sockets --enable-ftp Even I compiled clean libiconv the problem persists. Solution was the same as described in the first post. [2006-04-11 16:05:46] gaikwad_s at rediffmail dot com I am trying to install php 5 on fedora linux 5 it has generating error like I searched on net but did got any clue regarding this usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference to `libiconv' ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200: more undefined references to `libiconv' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: fr33z at inmail dot cz Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? Previous Comments: [2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com This problem still occurs in v5.2.4. It's been 3 years now. Does someone plan to fix this? [2007-07-24 09:09:29] janarbek at icu dot ac dot kr I tried to install Php5.2.3 on Fedora 4 with Apache 2 if you add -liconv to EXTRA_LIBS then make works fine. [2007-05-15 09:16:11] weber at lviv dot farlep dot net Latest PHP 5.2.2. Faced the same problem on RHES4. My options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-xml --with-dom --enable-sockets --enable-ftp Even I compiled clean libiconv the problem persists. Solution was the same as described in the first post. [2006-04-11 16:05:46] gaikwad_s at rediffmail dot com I am trying to install php 5 on fedora linux 5 it has generating error like I searched on net but did got any clue regarding this usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference to `libiconv' ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200: more undefined references to `libiconv' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 [2005-01-31 22:29:05] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to Open. Thank you.
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: w dot peter dot howell at meccahosting dot com Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: This problem still occurs in v5.2.4. It's been 3 years now. Does someone plan to fix this? Previous Comments: [2007-07-24 09:09:29] janarbek at icu dot ac dot kr I tried to install Php5.2.3 on Fedora 4 with Apache 2 if you add -liconv to EXTRA_LIBS then make works fine. [2007-05-15 09:16:11] weber at lviv dot farlep dot net Latest PHP 5.2.2. Faced the same problem on RHES4. My options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-xml --with-dom --enable-sockets --enable-ftp Even I compiled clean libiconv the problem persists. Solution was the same as described in the first post. [2006-04-11 16:05:46] gaikwad_s at rediffmail dot com I am trying to install php 5 on fedora linux 5 it has generating error like I searched on net but did got any clue regarding this usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference to `libiconv' ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200: more undefined references to `libiconv' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 [2005-01-31 22:29:05] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to Open. Thank you. [2005-01-11 06:53:09] [EMAIL PROTECTED] Where (and why) did you install libiconv ? It wouldn't be needed because glibc
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: janarbek at icu dot ac dot kr Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: I tried to install Php5.2.3 on Fedora 4 with Apache 2 if you add -liconv to EXTRA_LIBS then make works fine. Previous Comments: [2007-05-15 09:16:11] weber at lviv dot farlep dot net Latest PHP 5.2.2. Faced the same problem on RHES4. My options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-xml --with-dom --enable-sockets --enable-ftp Even I compiled clean libiconv the problem persists. Solution was the same as described in the first post. [2006-04-11 16:05:46] gaikwad_s at rediffmail dot com I am trying to install php 5 on fedora linux 5 it has generating error like I searched on net but did got any clue regarding this usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference to `libiconv' ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200: more undefined references to `libiconv' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 [2005-01-31 22:29:05] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to Open. Thank you. [2005-01-11 06:53:09] [EMAIL PROTECTED] Where (and why) did you install libiconv ? It wouldn't be needed because glibc provides nearly the same functionality as libiconv. I think there's kind of confusion going on through configure. If you have installed libiconv in /usr on the linux box, you may finally have to restore the glibc devel package as
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: weber at lviv dot farlep dot net Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: Latest PHP 5.2.2. Faced the same problem on RHES4. My options: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr --with-xml --with-dom --enable-sockets --enable-ftp Even I compiled clean libiconv the problem persists. Solution was the same as described in the first post. Previous Comments: [2006-04-11 16:05:46] gaikwad_s at rediffmail dot com I am trying to install php 5 on fedora linux 5 it has generating error like I searched on net but did got any clue regarding this usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference to `libiconv' ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200: more undefined references to `libiconv' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 [2005-01-31 22:29:05] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to Open. Thank you. [2005-01-11 06:53:09] [EMAIL PROTECTED] Where (and why) did you install libiconv ? It wouldn't be needed because glibc provides nearly the same functionality as libiconv. I think there's kind of confusion going on through configure. If you have installed libiconv in /usr on the linux box, you may finally have to restore the glibc devel package as installation of libiconv overwrites iconv.h that also comes from that package. Compiler warnings are safe and just ignorable. [2005-01-10 22:45:16] [EMAIL PROTECTED]
#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
ID: 31193 Comment by: gaikwad_s at rediffmail dot com Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment: I am trying to install php 5 on fedora linux 5 it has generating error like I searched on net but did got any clue regarding this usr/local/src/php-5.1.2/ext/iconv/iconv.c:772: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:890: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:254: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:291: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1718: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1721: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2309: undefined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2459: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2381: undefined reference to `libiconv' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:2335: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:618: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:641: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:698: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:702: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:649: undefined reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':/usr/local/src/php-5.1.2/ext/iconv/iconv.c:940: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:954: undefined reference to `libiconv_open' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1073: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1025: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1057: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1125: undefined reference to `libiconv' :/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1156: undefined reference to `libiconv' ext/iconv/.libs/iconv.o:/usr/local/src/php-5.1.2/ext/iconv/iconv.c:1200: more undefined references to `libiconv' follow collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Previous Comments: [2005-01-31 22:29:05] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to Open. Thank you. [2005-01-11 06:53:09] [EMAIL PROTECTED] Where (and why) did you install libiconv ? It wouldn't be needed because glibc provides nearly the same functionality as libiconv. I think there's kind of confusion going on through configure. If you have installed libiconv in /usr on the linux box, you may finally have to restore the glibc devel package as installation of libiconv overwrites iconv.h that also comes from that package. Compiler warnings are safe and just ignorable. [2005-01-10 22:45:16] [EMAIL PROTECTED] similar to #31263. I can reproduce the first part (pointers warnings) on Solaris 9. The link part has worked on my test box. [2005-01-10 20:50:08] david at cubbieco dot com sorry... here is the pertanent info ./configure make ... gcc -Iext/dom/ -I/home/david/php-5.0.3/ext/dom/ -DPHP_ATOM_INC -I/home/david/php-5.0.3/include -I/home/david/php-5.0.3/main