RE: php installation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Umar [mailto:unix.co@xxxxxxxxx]
> Sent: Sunday, January 27, 2008 3:55 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  php installation problem
> 
> 
> 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
> --
> View this message in context: http://www.nabble.com/php-installation-
> problem-tp15117164p15117164.html
> Sent from the PHP - General mailing list archive at Nabble.com.
> 

Sounds like you need the iconv libraries??

http://www.gnu.org/software/libiconv/#downloading
http://ar.php.net/iconv

Rob

Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 
5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308
| TEL 954-607-4207 | FAX 954-337-2695 | 
Email: info@xxxxxxxxxxxxx  | MSN Chat: best@xxxxxxxxxxxxx  |  SKYPE:
bestplace |  Web: bestplace.biz  | Web: seo-diy.com


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.11/1244 - Release Date: 1/25/2008
7:44 PM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux