« Return to Thread: php installation problem

php installation problem

by Umar :: Rate this Message:

Reply to Author | View in Thread

Dear Members!

I have installed php-5.2.5 on slackware 12.0 with these option successfully

./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-pcre-regex --with-layout=GNU --enable-sysvshm --enable-shmop --enable-sysvmsg --enable-sysvsem --enable-exif --enable-ftp --enable-safe-mode --enable-bcmath --disable-debug --enable-sockets --enable-force-cgi-redirect --with-gettext --with-zlib --with-gd --enable-gd-native-ttf --disable-rpath --enable-mbregex --with-bz2 --with-mime-magic --enable-calendar --enable-inline-optimization --enable-magic-quotes --enable-wddx=shared --with-ncurses=shared --with-xmlrpc --with-regex=system --with-pear --with-curl --with-gmp --with-png-dir=/usr/local --enable-mbstring --with-jpeg-dir=/usr/local --with-pic --with-mm=/usr/local --with-libexpat-dir=/usr/local --with-xsl=/usr/local --with-mcrypt --with-mhash --with-ldap=/usr/local/ldap

Now I am trying to install php-5.2.5 on another slackware 12.0 with same options but i got error on make

ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/gd/libgd/gdkanji.c:350: und                                                                             efined reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/gd/libgd/gdkanji.c:365: und                                                                             efined reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/gd/libgd/gdkanji.c:381: und                                                                             efined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:603: undefine                                                                             d reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:626: undefine                                                                             d reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:660: undefine                                                                             d reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_string':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:441: undefine                                                                             d reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:453: undefine                                                                             d reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:467: undefine                                                                             d reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:478: undefine                                                                             d reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:851: undefine                                                                             d reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:879: undefine                                                                             d reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:993: undefine                                                                             d reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:348: undefine                                                                             d reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:385: undefine                                                                             d reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:723: undefine                                                                             d reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:747: undefine                                                                             d reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:802: undefine                                                                             d reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:806: undefine                                                                             d reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:755: undefine                                                                             d reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1354: undefin                                                                             ed reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1465: undefin                                                                             ed reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1468: undefin                                                                             ed reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1823: undefin                                                                             ed reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1826: undefin                                                                             ed reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:2465: undefin                                                                             ed reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1043: undefin                                                                             ed reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1057: undefin                                                                             ed reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1316: undefin                                                                             ed reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1319: undefin                                                                             ed reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1176: undefin                                                                             ed reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1128: undefin                                                                             ed reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1160: undefin                                                                             ed reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1319: undefin                                                                             ed reference to `libiconv_close'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1228: undefin                                                                             ed reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1259: undefin                                                                             ed reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1303: undefin                                                                             ed reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:2615: undefin                                                                             ed reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:2537: undefin                                                                             ed reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:2491: undefin                                                                             ed reference to `libiconv_open'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/xmlrpc/libxmlrpc/encodings.                                                                             c:73: undefined reference to `libiconv_open'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/xmlrpc/libxmlrpc/encodings.                                                                             c:81: undefined reference to `libiconv'
/home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/xmlrpc/libxmlrpc/encodings.                                                                             c:101: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Now please help what should i do? systems are both slackware 12.0 php version same php installation paraments same then why this error message appears.

Kind Regards,

Umar Draz

 « Return to Thread: php installation problem