#23773 [Csd->Bgs]: Compiling Error in latest /ext/mysqli

From: Date: Sun, 25 May 2003 20:46:05 +0000
Subject: #23773 [Csd->Bgs]: Compiling Error in latest /ext/mysqli
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40394@lists.php.net to get a copy of this message
ID: 23773 Updated by: magnus@php.net Reported By: ag at inocreation dot com -Status: Closed +Status: Bogus Bug Type: Compile Failure Operating System: Debian Linux 2.2 PHP Version: 4CVS-2003-05-23 (stable) New Comment: Not a bug => Bogus Previous Comments: ------------------------------------------------------------------------ [2003-05-25 14:56:12] ag at inocreation dot com ok, after a update of libxml2 the php5 build worked fine... ------------------------------------------------------------------------ [2003-05-25 10:02:44] adam at indexdata dot dk Be sure to have the developers' version of libxml2. That is package name: libxml2-dev Alternatively you can force php5 to use Expat instead by specifying --lib-expat-dir=/usr (or whatever the prefix for expat is). ------------------------------------------------------------------------ [2003-05-25 09:16:21] ag at inocreation dot com hi, the following packages are installed.... Version of libxml2 on system is 2.4.12-1. Source: expat - Version: 1.95.2-6 ------------------------------------------------------------------------ [2003-05-25 07:09:16] adam at indexdata dot dk Do you have Debian package libxml2-dev installed? That or libexpat1-dev is required. ------------------------------------------------------------------------ [2003-05-25 06:36:40] ag at inocreation dot com hi, ok, but with the latest php5 snapshot I got the following error with "./configure --with-config-file-path=/etc --without-mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs=/usr/local/apache/bin/apxs" ext/xml/xml.lo: In function `zm_info_xml': /files/programs/php5-200305251130/ext/xml/xml.c:267: undefined reference to `XML_ExpatVersion' ext/xml/xml.lo: In function `xml_parser_dtor': /files/programs/php5-200305251130/ext/xml/xml.c:325: undefined reference to `XML_ParserFree' ext/xml/xml.lo: In function `php_xml_parser_create_impl': /files/programs/php5-200305251130/ext/xml/xml.c:1063: undefined reference to `XML_ParserCreate_MM' /files/programs/php5-200305251130/ext/xml/xml.c:1069: undefined reference to `XML_SetUserData' ext/xml/xml.lo: In function `zif_xml_set_element_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1144: undefined reference to `XML_SetElementHandler' ext/xml/xml.lo: In function `zif_xml_set_character_data_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1163: undefined reference to `XML_SetCharacterDataHandler' ext/xml/xml.lo: In function `zif_xml_set_processing_instruction_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1182: undefined reference to `XML_SetProcessingInstructionHandler' ext/xml/xml.lo: In function `zif_xml_set_default_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1200: undefined reference to `XML_SetDefaultHandler' ext/xml/xml.lo: In function `zif_xml_set_unparsed_entity_decl_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1219: undefined reference to `XML_SetUnparsedEntityDeclHandler' ext/xml/xml.lo: In function `zif_xml_set_notation_decl_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1237: undefined reference to `XML_SetNotationDeclHandler' ext/xml/xml.lo: In function `zif_xml_set_external_entity_ref_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1255: undefined reference to `XML_SetExternalEntityRefHandler' ext/xml/xml.lo: In function `zif_xml_set_start_namespace_decl_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1274: undefined reference to `XML_SetStartNamespaceDeclHandler' ext/xml/xml.lo: In function `zif_xml_set_end_namespace_decl_handler': /files/programs/php5-200305251130/ext/xml/xml.c:1293: undefined reference to `XML_SetEndNamespaceDeclHandler' ext/xml/xml.lo: In function `zif_xml_parse': /files/programs/php5-200305251130/ext/xml/xml.c:1321: undefined reference to `XML_Parse' ext/xml/xml.lo: In function `zif_xml_parse_into_struct': /files/programs/php5-200305251130/ext/xml/xml.c:1356: undefined reference to `XML_SetDefaultHandler' /files/programs/php5-200305251130/ext/xml/xml.c:1357: undefined reference to `XML_SetElementHandler' /files/programs/php5-200305251130/ext/xml/xml.c:1358: undefined reference to `XML_SetCharacterDataHandler' /files/programs/php5-200305251130/ext/xml/xml.c:1360: undefined reference to `XML_Parse' ext/xml/xml.lo: In function `zif_xml_get_error_code': /files/programs/php5-200305251130/ext/xml/xml.c:1378: undefined reference to `XML_GetErrorCode' ext/xml/xml.lo: In function `zif_xml_error_string': /files/programs/php5-200305251130/ext/xml/xml.c:1393: undefined reference to `XML_ErrorString' ext/xml/xml.lo: In function `zif_xml_get_current_line_number': /files/programs/php5-200305251130/ext/xml/xml.c:1412: undefined reference to `XML_GetCurrentLineNumber' ext/xml/xml.lo: In function `zif_xml_get_current_column_number': /files/programs/php5-200305251130/ext/xml/xml.c:1428: undefined reference to `XML_GetCurrentColumnNumber' ext/xml/xml.lo: In function `zif_xml_get_current_byte_index': /files/programs/php5-200305251130/ext/xml/xml.c:1444: undefined reference to `XML_GetCurrentByteIndex' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23773 -- Edit this bug report at http://bugs.php.net/?id=23773&edit=1

« previous php.bugs (#40394) next »