Edit report at https://bugs.php.net/bug.php?id=60051&edit=1
ID: 60051 Comment by: CoreyStup at gmail dot com Reported by: sanjay dot d dot patil at oracle dot com Summary: Compiler is failing while generating phar.php Status: Open Type: Bug Package: Compile Failure Operating System: aix 6.1 PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: The missing htmlDocDumpMemoryFormat symbol is due to a API version change with libxml2. I too am an AIX user, and have a patch in process to address the issue. Previous Comments: ------------------------------------------------------------------------ [2011-11-08 16:45:48] rmmangin at fedex dot com I successfully built php 5.3.8 on Solaris 2.8 (at least the ./configure, make, and make install steps all reported success). But trying to restart Apache to pick up the new libphp5.so module reports: Cannot load /opt/apache/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /opt/apache/modules/libphp5.so: symbol htmlDocDumpMemoryFormat: referenced symbol not found Yet running ldd on libphp5.so shows nothing as "not found". ------------------------------------------------------------------------ [2011-10-13 09:53:55] sanjay dot d dot patil at oracle dot com Description: ------------ We are trying to compile php 5.3.8 on AIX 6.1 using configure options mentioned below. ./configure --prefix=/usr/local --with-apxs2=/export/opt/quikremit/apache2/bin/apxs --with-config-file-path=/export/opt/quikremit/apache2/conf --with-gd --with-zlib-dir=/opt/freeware/lib --enable-shared --enable-debug --disable-static --host=powerpc-ibm-aix6.1.0.0 but make is giveing below error: Generating phar.php exec(): 0509-036 Cannot load program /export/opt/quikremit/pqapp/php/php-5.3.8/sapi/cli/php because of the following errors: rtld: 0712-001 Symbol htmlDocDumpMemoryFormat was referenced from module php(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol xmlTextReaderSetup was referenced from module php(), but a runtime definition of the symbol was not found. make: *** [ext/phar/phar.php] Error 255 Test script: --------------- ext/phar/phar.php: /export/opt/quikremit/pqapp/php/php-5.3.8/ext/phar/build_precommand.php /export/opt/quikremit/pqapp/php/php-5.3.8/ext/phar/phar/*.inc /exp ort/opt/quikremit/pqapp/php/php-5.3.8/ext/phar/phar/*.php $(SAPI_CLI_PATH) -@echo "Generating phar.php" Expected result: ---------------- Make should complete with successful results as BUILD COMPLETE Actual result: -------------- Generating phar.php exec(): 0509-036 Cannot load program /export/opt/quikremit/pqapp/php/php-5.3.8/sapi/cli/php because of the following errors: rtld: 0712-001 Symbol htmlDocDumpMemoryFormat was referenced from module php(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol xmlTextReaderSetup was referenced from module php(), but a runtime definition of the symbol was not found. make: *** [ext/phar/phar.php] Error 255 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60051&edit=1