Bug #60051 [Fbk->NoF]: Compiler is failing while generating phar.php

From: Date: Sun, 20 Jun 2021 04:22:08 +0000
Subject: Bug #60051 [Fbk->NoF]: Compiler is failing while generating phar.php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234534@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60051&edit=1

 ID:               60051
 Updated by:       php-bugs@lists.php.net
 Reported by:      sanjay dot d dot patil at oracle dot com
 Summary:          Compiler is failing while generating phar.php
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Compile Failure
 Operating System: aix 6.1
 PHP Version:      5.3.8
 Assigned To:      cmb
 Private report:   N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2021-06-10 12:41:36] 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>

------------------------------------------------------------------------
[2012-01-12 19:06:50] 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.

------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#234534) next »