Mantis - php5_xsl
Viewing Issue Advanced Details
4941 packaging major always 2012-05-03 01:37 2016-10-08 22:51
jcordero  
dam  
normal  
closed  
fixed  
none    
none  
0004941: On a fresh Solaris 11 install the php5_xsl fails to load
The error log tells that there is a problem with the so link.

[02-May-2012 23:24:09 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626/xsl.so' - ld.so.1: httpd.prefork: fatal: relocation error: file /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626/xsl.so: symbol dom_node_class_entry: referenced symbol not found in Unknown on line 0
# ldd /opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626/xsl.so
    libCstd.so.1 => /usr/lib/libCstd.so.1
    libz.so.1 => /opt/csw/lib/libz.so.1
    libexslt.so.0 => /opt/csw/lib/libexslt.so.0
    libxslt.so.1 => /opt/csw/lib/libxslt.so.1
    libxml2.so.2 => /opt/csw/lib/libxml2.so.2
    libiconv.so.2 => /opt/csw/lib/libiconv.so.2
    libsocket.so.1 => /lib/libsocket.so.1
    libnsl.so.1 => /lib/libnsl.so.1
    libm.so.2 => /lib/libm.so.2
    libc.so.1 => /lib/libc.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libgcrypt.so.11 => /opt/csw/lib/i386/libgcrypt.so.11
    libgpg-error.so.0 => /opt/csw/lib/i386/libgpg-error.so.0
    libz.so.1 => /opt/csw/lib/pentium_pro+mmx/libz.so.1
    libpthread.so.1 => /lib/libpthread.so.1
    libm.so.1 => /lib/libm.so.1
    libdl.so.1 => /lib/libdl.so.1
    libmp.so.2 => /lib/libmp.so.2
    libmd.so.1 => /lib/libmd.so.1
    libintl.so.8 => /opt/csw/lib/i386/libintl.so.8
has duplicate 0005022closed ghenry php5_xmlreader relocation error symbol dom_node_class_entry not found 
? file icon php.ini [^] (2,725 bytes) 2012-05-31 20:17
Issue History
2012-05-03 01:37 jcordero New Issue
2012-05-31 01:43 bwalton Note Added: 0009885
2012-05-31 01:44 bwalton Status new => assigned
2012-05-31 01:44 bwalton Assigned To => bwalton
2012-05-31 20:17 lanteau File Added: php.ini
2012-05-31 20:17 lanteau Note Added: 0009889
2012-05-31 20:23 lanteau Note Edited: 0009889
2012-05-31 20:53 jcordero Note Added: 0009890
2012-06-02 02:37 bwalton Note Added: 0009893
2014-09-08 17:04 dam Note Added: 0010895
2014-09-08 17:04 dam Assigned To bwalton => dam
2014-09-08 17:04 dam Status assigned => feedback
2014-09-08 17:06 dam Relationship added has duplicate 0005022
2016-10-08 22:51 dam Note Added: 0011205
2016-10-08 22:51 dam Status feedback => closed
2016-10-08 22:51 dam Resolution open => fixed

Notes
(0009885)
bwalton   
2012-05-31 01:43   
Hi, sorry for the delayed reply...

Is this triggered by code or does it happen when you start apache? If it's triggered by some code, can you pare it down to a minimal few lines that reproduce the problem?

Thanks
-Ben
(0009889)
lanteau   
2012-05-31 20:17   
(edited on: 2012-05-31 20:23)
I see this error when trying to use the 'pear' utility (/opt/csw/php5/bin/pear). Just running the command will spit out the xsl.so error above. I attached my php.ini, I'm not sure if using pear uses this or not.

EDIT: For the record I'm also experiencing this on a Solaris 11 system

(0009890)
jcordero   
2012-05-31 20:53   
bwalton: yes the error shows up when the apache starts. To reproduce the error create a page with this content: <?php phpinfo(); ?>
(0009893)
bwalton   
2012-06-02 02:37   
Ok, I just fired up apache2 + php5 with the supplied php.ini and I have no issues. I triggered phpinfo() and get the expected result.

I don't have a solaris 11 system to test this on but I'll try to wrangle something up...
(0010895)
dam   
2014-09-08 17:04   
You need to have CSWphp5-dom installed and in your
  /etc/opt/csw/php5/php.ini
and it must be loaded before xsl.so:
  extension=dom.so
  extension=xsl.so
(0011205)
dam   
2016-10-08 22:51   
Duplicate 0005022 has been closed, please see there for solution details.