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: 2021-06-20 04:22 UTC
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: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.8 OS: aix 6.1
Private report: No CVE-ID: None
 [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

Pull Requests

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.
 [2021-06-10 12:41 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-06-10 12:41 UTC] cmb@php.net
Is that still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-06-20 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC