Zdravim . . .
môj problém sa týka kompilácie PHP 5.1.2 na MAndrive 2006 64bit po zadaní make mi vypíše nasledujúce chyby:
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/usr/local/src/php5.1-200604060830/ext/gd/libgd/gdkanji.c:350: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/gd/libgd/gdkanji.c:365: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/gd/libgd/gdkanji.c:381: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:254: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:291: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_string':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:347: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:356: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:369: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:380: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:505: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:562: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:528: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:747: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:890: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:772: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1251: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1720: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1723: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1362: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1365: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:2311: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:2383: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:2461: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:2461: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:2337: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `zif_iconv_substr':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:618: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:698: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:702: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:641: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:649: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `zif_iconv_mime_encode':
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:940: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:954: undefined reference to `libiconv_open'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1213: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1216: undefined reference to `libiconv_close'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1025: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1057: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1073: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1200: undefined reference to `libiconv'
/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1125: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/src/php5.1-200604060830/ext/iconv/iconv.c:1156: more undefined references to `libiconv' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
konfiguroval som s nasledovnými volbami:
./configure --with-libdir=lib64 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-sqlite --enable-sqlite-utf8 --with-zlib --with-zlib-dir --with-bz2 --with-gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-ttf --with-freetype-dir=/usr/local --with-curl=/usr/local --enable-track-vars --with-gettext --with-config-file-path=/usr/local/apache2/conf --enable-trans-id --enable-ftp --with-cpdflib=/usr/local --enable-mbstring --with-iconv
ked pri konfigurácii uvediem --with-iconv=/usr/local . . . kde je aj nainstalovane, vypisuje problémi uz pri konfiguracii
. . .
checking for iconv support... yes
configure: error: Please reinstall the iconv library.
. . .
za rady vopred ďakujem . . .;-)