probably uninteresting, xmlrpc build error libiconv related
| From: | Ludovico Magnocavallo | Date: | Tue, 26 Mar 2002 15:24:52 +0000 |
| Subject: | probably uninteresting, xmlrpc build error libiconv related | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-4755@lists.php.net to get a copy of this message | ||
Trying to build 4.2.0 RC1 on a RedHat 6.2 box with
- automake (GNU automake) 1.5
- Autoconf version 2.13
- ltmain.sh (GNU libtool) 1.4.2
- libiconv.so.2.0.4
all compiled from sources
with the following configuration:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-trans-sid --with-m
ysql=/usr/local/mysql --with-interbase=/opt/interbase --with-xmlrpc
I get the following error:
make[2]: Entering directory `/usr/src/php-4.2.0RC1/sapi/cli'
/bin/sh /usr/src/php-4.2.0RC1/libtool --silent --mode=link
gcc -I. -I/usr/src/php-4.2.0RC1/sapi/cli -I/usr/src/php-4.2.0RC1/main -I/usr
/src/php-4.2.0RC1 -I/usr/local/apache/include -I/usr/src/php-4.2.0RC1/Zend -
I/opt/interbase/include -I/usr/local/mysql/include/mysql -I/usr/src/php-4.2.
0RC1/ext/xml/expat -I/usr/local/include -I/usr/src/php-4.2.0RC1/ext/xmlrpc/l
ibxmlrpc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/php-4.2.0RC1/TSRM
-g -O2 -o php -export-dynamic libphp4cli.la
./.libs/libphp4cli.a(encodings.lo): In function `convert':
/usr/src/php-4.2.0RC1/ext/xmlrpc/libxmlrpc/encodings.c:47: undefined
reference to `libiconv_open'
/usr/src/php-4.2.0RC1/ext/xmlrpc/libxmlrpc/encodings.c:58: undefined
reference to `libiconv'
/usr/src/php-4.2.0RC1/ext/xmlrpc/libxmlrpc/encodings.c:78: undefined
reference to `libiconv_close'
collect2: ld returned 1 exit status
make[2]: *** [php] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.0RC1/sapi/cli'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.0RC1/sapi/cli'
make: *** [all-recursive] Error 1
I never successfully managed to compile the xmlrpc extension in the past few
weeks, so maybe I'm doing something wrong in the configure process.
Ludo