#18853 [Fbk->NoF]: Compile Failures On DOMXML

From: Date: Sun, 15 Sep 2002 06:00:01 +0000
Subject: #18853 [Fbk->NoF]: Compile Failures On DOMXML
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19380@lists.php.net to get a copy of this message
ID: 18853 Updated by: php-bugs@lists.php.net Reported By: craigm@ace.com.au -Status: Feedback +Status: No Feedback Bug Type: Compile Failure Operating System: Redhat 7.2 PHP Version: 4CVS-2002-08-11 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-08-14 03:06:49] chregu@php.net Hi It looks like, php can't link to libxml2. Please check if libxml2 is in your ldconfig-cache (ldconfig -p | grep xml2). If not, adjust /etc/ld.so.conf and add the path, where libxml2.so can be found. A new snapshot won't help you, since nothing changed in the extension in this area. Please report back, if it works or not. chregu ------------------------------------------------------------------------ [2002-08-13 21:58:26] kalowsky@php.net Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [2002-08-11 06:48:29] craigm@ace.com.au Configure lines looks like the following: ./configure --prefix=/usr/local/php4 --with-imap=/root/imap-2001a/ --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-gettext --with-xml --enable-ftp --enable-sockets --with-dom=../libxml2-2.4.23 --with-zlib && make && make install Tring to compile latest CVS-PHP and libxml 2.4.23 together and towards the end of the compile I come across a whole screen or two worth of information thats looks like this -------------------------------------------------------- ext/domxml/php_domxml.lo: In function `zif_domxml_elem_remove_attribute': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:2809: undefined reference to `xmlHasProp' ext/domxml/php_domxml.lo: In function `zif_domxml_elem_get_attribute_node': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:2829: undefined reference to `xmlHasProp' ext/domxml/php_domxml.lo: In function `zif_domxml_elem_has_attribute': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:2882: undefined reference to `xmlFree' ext/domxml/php_domxml.lo: In function `zif_domxml_doc_get_element_by_id': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3001: undefined reference to `xmlHashScan' ext/domxml/php_domxml.lo: In function `zif_domxml_doc_doctype': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3188: undefined reference to `xmlGetIntSubset' ext/domxml/php_domxml.lo: In function `zif_domxml_intdtd': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3498: undefined reference to `xmlGetIntSubset' ext/domxml/php_domxml.lo: In function `zif_domxml_dump_mem': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3524: undefined reference to `xmlDocDumpFormatMemoryEnc' /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3526: undefined reference to `xmlDocDumpFormatMemory' /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3531: undefined reference to `xmlDocDumpMemoryEnc' /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3541: undefined reference to `xmlFree' ext/domxml/php_domxml.lo: In function `zif_domxml_dump_mem_file': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3562: undefined reference to `xmlSaveFormatFile' ext/domxml/php_domxml.lo: In function `zif_domxml_dump_node': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3602: undefined reference to `xmlNodeDump' ext/domxml/php_domxml.lo: In function `zif_domxml_doc_ids': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3651: undefined reference to `xmlHashScan' ext/domxml/php_domxml.lo: In function `zif_xmldoc': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3694: undefined reference to `xmlLoadExtDtdDefaultValue' ext/domxml/php_domxml.lo: In function `zif_xmldocfile': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3776: undefined reference to `xmlLoadExtDtdDefaultValue' ext/domxml/php_domxml.lo: In function `zif_domxml_html_dump_mem': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3837: undefined reference to `xmlFree' /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:3841: undefined reference to `xmlFree' ext/domxml/php_domxml.lo: In function `php_xpathptr_new_context': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:4561: undefined reference to `xmlXPtrNewContext' ext/domxml/php_domxml.lo: In function `php_xpathptr_eval': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:4627: undefined reference to `xmlXPtrEval' ext/domxml/php_domxml.lo: In function `zif_xpath_register_ns': /usr/local/src/php4-200208110000/ext/domxml/php_domxml.c:4760: undefined reference to `xmlXPathRegisterNs' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 ----------------------------------------------------------- If any further information is required please let me know, this is my first bug report. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18853&edit=1

« previous php.bugs (#19380) next »