ID: 44294
User updated by: danval at gmail dot com
-Summary: Undefined symbols 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-latest
New Comment:
Seems it was the way i configured libxml2? this was my setting
./configure --prefix=/Apache/local/libxml \
--enable-shared \
--with-zlib=/Apache/local/zlib
do you see how it would generate that error? is this zlib directory the
same as the one configured in php?
I was able to use a binary version of libxml2 when i configured php to
successfully build.
Previous Comments:
------------------------------------------------------------------------
[2008-03-01 04:09:28] danval at gmail dot com
returned the exact same error?? Anything else it could be? what does
that error mean?
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
adsl-69-234-187-240:php5.2-200803010330
------------------------------------------------------------------------
[2008-03-01 01:28:22] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2008-02-29 16:36:05] danval at gmail dot com
Undefined symbols spelling error
------------------------------------------------------------------------
[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