OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004941 [php5_xsl] packaging major always 2012-05-03 01:37 2016-10-08 22:51
Reporter jcordero View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004941: On a fresh Solaris 11 install the php5_xsl fails to load
Description 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
Additional Information # 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
Tags No tags attached.
Attached Files ? file icon php.ini [^] (2,725 bytes) 2012-05-31 20:17

- Relationships
has duplicate 0005022closedghenry php5_xmlreader relocation error symbol dom_node_class_entry not found 

-  Notes
(0009885)
bwalton (administrator)
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 (reporter)
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 (reporter)
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 (administrator)
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 (administrator)
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 (administrator)
2016-10-08 22:51

Duplicate 0005022 has been closed, please see there for solution details.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker