php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60051 Compiler is failing while generating phar.php
Submitted: 2011-10-13 09:53 UTC Modified: -
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: sanjay dot d dot patil at oracle dot com Assigned:
Status: Open Package: Compile Failure
PHP Version: 5.3.8 OS: aix 6.1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-10-13 09:53 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-08 16:45 UTC] 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".
 [2012-01-12 19:06 UTC] CoreyStup at gmail dot com
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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Oct 22 13:01:29 2019 UTC