pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

php 54 extensions not loading due to missing symbols



I've just upgraded a server (running current/amd64) to a very recent version of pkgsrc and davical is not working. This all worked fine with slightly older versions as noted later. The php extensions compiled alongside php 5.4 seem to have some missing references and get spat out when apache 2.4 loads. This is a show-stopper for davical. The apache error log shows:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20120301/pdo.so' - /usr/pkg/lib/php/20120301/pdo.so: Undefined symbol "compiler_globals" (symnum = 24) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20120301/pgsql.so' - /usr/pkg/lib/php/20120301/pgsql.so: Undefined symbol "executor_globals" (symnum = 255) in Unknown on line 0 PHP Warning: PHP Startup: gettext: Unable to initialize module\nModule compiled with build ID=API20100525,NTS\nPHP compiled with build ID=API20100525,TS\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20120301/pdo_pgsql.so' - /usr/pkg/lib/php/20120301/pdo_pgsql.so: Undefined symbol "file_globals" (symnum = 28) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20120301/iconv.so' - /usr/pkg/lib/php/20120301/iconv.so: Undefined symbol "sapi_globals" (symnum = 77) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/pkg/lib/php/20120301/curl.so' - /usr/pkg/lib/php/20120301/curl.so: Undefined symbol "file_globals" (symnum = 72) in Unknown on line 0 PHP Warning: PHP Startup: calendar: Unable to initialize module\nModule compiled with build ID=API20100525,NTS\nPHP compiled with build ID=API20100525,TS\nThese options need to match\n in Unknown on line 0 [Fri May 09 16:22:32.373378 2014] [mpm_prefork:notice] [pid 5845] AH00163: Apache/2.4.9 (Unix) PHP/5.4.27 configured -- resuming normal operations


Installed:
apache-2.4.9        Apache HTTP (Web) server, version 2.4
php-5.4.27          PHP Hypertext Preprocessor version 5.4
ap24-php54-5.4.27   Apache (apache24) module for PHP5.4
php54-pgsql-5.4.27  PHP extension for PostgreSQL databases
php54-pdo-5.4.27    PHP extension for PHP Data Objects (base)
php54-pdo_pgsql-5.4.27 PHP extension for PHP Data Objects (PostgreSQL)
php54-iconv-5.4.27  PHP extension for character set conversion
php54-gettext-5.4.27 PHP extension for gettext support
php54-libawl-0.53   PHP Andrew's Web Libraries
php54-curl-5.4.27nb1 PHP extension for curl functions


Has anyone else encountered this or know of a workaround?

(Everything worked fine under when the PHP base was 5.4.13 and apache 2.4.4 but I don't want to revert if possible)

Cheers
Dave


--
============================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
============================================



Home | Main Index | Thread Index | Old Index