#39940 [NEW]: make error
| From: | lendy dot chen at gmail dot com | Date: | Sun, 24 Dec 2006 07:13:49 +0000 |
| Subject: | #39940 [NEW]: make error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106830@lists.php.net to get a copy of this message | ||
From: lendy dot chen at gmail dot com
Operating system: Linux AS4.0U2
PHP version: 5.2.0
PHP Bug Type: XML related
Bug description: make error
Description:
------------
same in php5.1.6 is ok,
but error with php5.2.0
./configure
--prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs
--with-openssl-dir=/usr/local/ssl
--with-jpeg-dir=/usr/local/modules/jpeg6
--with-png
--with-freetype-dir=/usr/local/modules/freetype
--with-gd=/usr/local/gd2
--enable-trace-vars
--with-mysql=/usr/local/mysql
--with-pdo-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-sqlite-utf8
--enable-pdo
--with-libxml-dir=/usr/local/libxml2
--enable-dba
--with-zlib
--enable-mbstring
--with-iconv
--enable-memory-limit
--enable-sockets
--enable-force-cgi-redirect
--disable-debug
--with-config-file-path=/etc
--enable-fastcgi
--enable-zip
make
ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function
`zim_xmlreader_setSchema':
/usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference
to `xmlTextReaderSchemaValidate'
collect2: ld returned 1 exit status
Reproduce code:
---------------
same in php5.1.6 is ok,
but error with php5.2.0
./configure
--prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs
--with-openssl-dir=/usr/local/ssl
--with-jpeg-dir=/usr/local/modules/jpeg6
--with-png
--with-freetype-dir=/usr/local/modules/freetype
--with-gd=/usr/local/gd2
--enable-trace-vars
--with-mysql=/usr/local/mysql
--with-pdo-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-sqlite-utf8
--enable-pdo
--with-libxml-dir=/usr/local/libxml2
--enable-dba
--with-zlib
--enable-mbstring
--with-iconv
--enable-memory-limit
--enable-sockets
--enable-force-cgi-redirect
--disable-debug
--with-config-file-path=/etc
--enable-fastcgi
--enable-zip
make
ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function
`zim_xmlreader_setSchema':
/usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference
to `xmlTextReaderSchemaValidate'
collect2: ld returned 1 exit status
Expected result:
----------------
same in php5.1.6 is ok,
but error with php5.2.0
./configure
--prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs
--with-openssl-dir=/usr/local/ssl
--with-jpeg-dir=/usr/local/modules/jpeg6
--with-png
--with-freetype-dir=/usr/local/modules/freetype
--with-gd=/usr/local/gd2
--enable-trace-vars
--with-mysql=/usr/local/mysql
--with-pdo-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-sqlite-utf8
--enable-pdo
--with-libxml-dir=/usr/local/libxml2
--enable-dba
--with-zlib
--enable-mbstring
--with-iconv
--enable-memory-limit
--enable-sockets
--enable-force-cgi-redirect
--disable-debug
--with-config-file-path=/etc
--enable-fastcgi
--enable-zip
make
ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function
`zim_xmlreader_setSchema':
/usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference
to `xmlTextReaderSchemaValidate'
collect2: ld returned 1 exit status
Actual result:
--------------
same in php5.1.6 is ok,
but error with php5.2.0
./configure
--prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs
--with-openssl-dir=/usr/local/ssl
--with-jpeg-dir=/usr/local/modules/jpeg6
--with-png
--with-freetype-dir=/usr/local/modules/freetype
--with-gd=/usr/local/gd2
--enable-trace-vars
--with-mysql=/usr/local/mysql
--with-pdo-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-sqlite-utf8
--enable-pdo
--with-libxml-dir=/usr/local/libxml2
--enable-dba
--with-zlib
--enable-mbstring
--with-iconv
--enable-memory-limit
--enable-sockets
--enable-force-cgi-redirect
--disable-debug
--with-config-file-path=/etc
--enable-fastcgi
--enable-zip
make
ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function
`zim_xmlreader_setSchema':
/usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference
to `xmlTextReaderSchemaValidate'
collect2: ld returned 1 exit status
--
Edit bug report at http://bugs.php.net/?id=39940&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39940&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39940&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39940&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39940&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39940&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39940&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39940&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39940&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39940&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39940&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39940&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39940&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39940&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39940&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39940&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39940&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39940&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39940&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39940&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39940&r=mysqlcfg