From:             danval at gmail dot com
Operating system: Mac 10.5 Leopard Client
PHP version:      5.2.5
PHP Bug Type:     Compile Warning
Bug description:  Undefined symobls upon sudo make

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 bug report at http://bugs.php.net/?id=44294&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44294&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44294&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44294&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44294&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44294&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44294&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44294&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44294&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44294&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44294&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44294&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44294&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44294&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44294&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44294&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44294&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44294&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44294&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44294&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44294&r=mysqlcfg

Reply via email to