ID: 44294 User updated by: danval at gmail dot com -Summary: Undefined symobls upon sudo make Reported By: danval at gmail dot com Status: Open Bug Type: Compile Warning Operating System: Mac 10.5 Leopard Client PHP Version: 5.2.5 New Comment:
Undefined symbols spelling error Previous Comments: ------------------------------------------------------------------------ [2008-02-29 16:32:45] danval at gmail dot com Description: ------------ Installation warning error when compiling php 5 Reproduce code: --------------- configuration used with compiled extensions ./configure \ --prefix=/Apache/php \ --with-libxml-dir=/Apache/local/libxml \ --with-zlib-dir=/Apache/local/zlib \ --with-zlib \ --with-curl=/Apache/local/curl \ --with-jpeg-dir=/Apache/local/gd \ --with-png-dir=/Apache/local/gd \ --with-gd \ --with-mcrypt=/Apache/local/mcrypt \ --with-mhash=/Apache/local/mhash \ --with-mysql=/usr/local/mysql \ --with-mysql-sock=/usr/local/mysql/run \ --with-apxs2=/Apache/bin/apxs \ --enable-soap \ --enable-sockets \ --enable-shared \ --enable-cli \ --enable-exif \ --enable-ftp \ --enable-mbstring \ --enable-mbregex \ --enable-xmlreader Expected result: ---------------- successful sudo make Actual result: -------------- Last few lines after 'sudo make' sapi/apache2handler/apache_config.o sapi/apache2handler/php_functions.o main/internal_functions.o -lmysqlclient -lmhash -lmcrypt -lltdl -liconv -lpng -lz -ljpeg -lcurl -lz -lm -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto -lldap -lz -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -o libs/libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so Undefined symbols: "_xmlTextReaderSchemaValidate", referenced from: _zim_xmlreader_setSchema in php_xmlreader.o "_xmlTextReaderSetup", referenced from: _zim_xmlreader_XML in php_xmlreader.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44294&edit=1