Subject: php5-xsl problems
To: None <pkgsrc-users@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: pkgsrc-users
Date: 08/26/2007 16:23:24
I posted this to the tech-pkg list by accident the other day; sorry for
reposting. Can anyone help?

Louis

-------- Original Message --------
Subject: php5-xsl problems
Date: Fri, 24 Aug 2007 09:02:39 -0400
From: Louis Guillaume <lguillaume@berklee.edu>
To: tech-pkg@netbsd.org

Hi,

On i386, netbsd-3 STABLE, pkgsrc-2007Q2 I get the following message from
php when starting apache:

[24-Aug-2007 00:21:22] PHP Warning:  PHP Startup: Unable to load dynamic
library '/usr/pkg/lib/php/20040412/xsl.so' -
/usr/pkg/lib/php/20040412/xsl.so: Undefined symbol
&quot;dom_node_class_entry&quot; (symnum = 66) in Unknown on line 0


Here's the environment...

$ pkg_info |grep php
php-5.2.3nb3        PHP Hypertext Preprocessor version 5
php5-gettext-5.2.3  PHP extension for gettext support
php5-ldap-5.2.3     PHP extension for LDAP database access
php5-mysql-5.2.3    PHP extension for MySQL databases
php5-pgsql-5.2.3    PHP extension for PostgreSQL databases
php5-xsl-5.2.3      PHP5 extension for XSLT functions
ap2-php5-5.2.3nb1   Apache (apache2) module for PHP5

$ grep "^extension" /etc/php.ini
extension_dir = "/usr/pkg/lib/php/20040412"
extension=ldap.so
extension=gettext.so
extension=mysql.so
extension=pgsql.so
extension=xsl.so

$ ldd /usr/pkg/lib/php/20040412/xsl.so
/usr/pkg/lib/php/20040412/xsl.so:
        -lintl.0 => /usr/lib/libintl.so.0
        -lgpg-error.0 => /usr/pkg/lib/libgpg-error.so.0
        -lgcrypt.11 => /usr/pkg/lib/libgcrypt.so.11
        -lz.0 => /usr/lib/libz.so.0
        -lm.0 => /usr/lib/libm387.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lxml2.2 => /usr/pkg/lib/libxml2.so.2
        -lxslt.1 => /usr/pkg/lib/libxslt.so.1
        -lexslt.0 => /usr/pkg/lib/libexslt.so.0


Any help would be fantastic,

Louis