Subject: devel/php4-gettext compiles but doesn't load in apache2
To: None <tech-pkg@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 03/26/2003 14:27:17
Hi,

I have installed:

apache-2.0.44       Apache HTTP (Web) server, version 2
php-4.2.3nb2        HTML-embedded scripting language
ap2-php-4.2.3       Apache module for PHP4
php-pcre-4.2.3      PHP4 extension for Perl-compatible regular
php-session-4.2.3   PHP4 extension for session-handling
php-gettext-4.2.3   PHP4 extension for gettext support
php-xml-4.2.3       PHP4 extension for parsing XML

It all installs fine, but when loading the .so's, apache's error_log
spits this out:

[Wed Mar 26 14:25:07 2003] [warn] Init: Session Cache is not
configured [hint: SSLSessionCache]
PHP Warning:  Unable to load dynamic library
'/usr/pkg/lib/php/20020429/pcre.so' -
/usr/pkg/lib/php/20020429/pcre.so: Undefined symbol "executor_globals"
(symnum = 95) in Unknown on line 0
PHP Warning:  gettext: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20020429, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0
 PHP Warning:  Unable to load dynamic library
 '/usr/pkg/lib/php/20020429/session.so' -
 /usr/pkg/lib/php/20020429/session.so: Undefined symbol "core_globals"
 (symnum = 149) in Unknown on line 0
 PHP Warning:  Unable to load dynamic library
 '/usr/pkg/lib/php/20020429/xml.so' -
 /usr/pkg/lib/php/20020429/xml.so: Undefined symbol "executor_globals"
 (symnum = 131) in Unknown on line 0
 PHP Warning:  Unable to load dynamic library
 '/usr/pkg/lib/php/20020429/imap.so' - Cannot open
 "/usr/pkg/lib/php/20020429/imap.so" in Unknown on line 0
 [Wed Mar 26 14:25:07 2003] [notice] Digest: generating secret for
 digest authentication ...
 [Wed Mar 26 14:25:07 2003] [notice] Digest: done
 [Wed Mar 26 14:25:08 2003] [notice] Apache/2.0.44 (Unix)
 mod_ssl/2.0.44 OpenSSL/0.9.6g DAV/2 PHP/4.2.3 configured -- resuming
 normal operations

I notice th thread-saftey option 'not matching' but I'm unsure what
this is.. are there arguments we can pass in the build, to get this going?

  C.
-- 
 charlie@rubberduck.com
 http://rubberduck.com/yeled/
 PGP: 0x14AA7941 || finger yeled@lazy.spodder.com