kimi8187 发表于 2014-07-25 17:14

php 交叉编译 undefined reference to xmlTextReaderSetup

各位前辈好!
搭建LAMP环境过程中,编译php5.3.28时,发生如下错误
Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/php_cli_readline.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lrt -lmysqlclient -lrt -lm -ldl -lnsl -lxml2 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -liconv-o sapi/cli/php
ext/xmlreader/.libs/php_xmlreader.o: In function `zim_xmlreader_XML':
/root/tmp/webserver/php-5.3.28/ext/xmlreader/php_xmlreader.c:1098: undefined reference to `xmlTextReaderSetup'
collect2: ld returned 1 exit status
make: *** Error 1
root@ubuntu:~/tmp/webserver/php-5.3.28#

./configure 已经用--with-libxml-dir=指定了libxml2.so库文件所在目录,为什么会找不到xmlTextReaderSetup定义呢?
请走过路过的各位前辈给点提示,谢谢!
页: [1]
查看完整版本: php 交叉编译 undefined reference to xmlTextReaderSetup