RE: FreeBSD php upgrade oddity - can't load dynamic librari es [RESOLVED]

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

 



For the sake of someone who may benefit from this info:

I resolved this by removing the file
/usr/local/etc/php/extensions.ini
and then reinstalling the php5 base
and then reinstalling php5-extensions



-----Original Message-----
From: Al Arzaga 
Sent: Wednesday, March 16, 2005 10:34 PM
To: php-general@xxxxxxxxxxxxx
Subject:  FreeBSD php upgrade oddity - can't load dynamic libraries


I'm running FreeBSD 5.2.1, and last night I cvsupped to the latest
ports.

This afternoon, I proceeded to upgrade PHP from 5.0.1 to 5.0.3.
But I kept getting these errors when restarting apache that it could not
find various shared libraries in /usr/local/lib/php/20041030

I see that I'm supposed to have such a directory, but what I do have is
a /usr/local/lib/php/20040412 instead.  (Pointing to that directory in
php.ini clearly is not the answer.)

Similar errors appear when running from the command line:

[kungpao:~]$ php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/ctype.so' - Cannot open 
"/usr/local/lib/php/20041030/ctype.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/simplexml.so' - Cannot open 
"/usr/local/lib/php/20041030/simplexml.so" in Unknown on line 
0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/dom.so' - Cannot open 
"/usr/local/lib/php/20041030/dom.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/gd.so' - Cannot open 
"/usr/local/lib/php/20041030/gd.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/iconv.so' - Cannot open 
"/usr/local/lib/php/20041030/iconv.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/ldap.so' - Cannot open 
"/usr/local/lib/php/20041030/ldap.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/mysql.so' - Cannot open 
"/usr/local/lib/php/20041030/mysql.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/odbc.so' - Cannot open 
"/usr/local/lib/php/20041030/odbc.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/oracle.so' - Cannot open 
"/usr/local/lib/php/20041030/oracle.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/pcre.so' - Cannot open 
"/usr/local/lib/php/20041030/pcre.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/pdf.so' - Cannot open 
"/usr/local/lib/php/20041030/pdf.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/posix.so' - Cannot open 
"/usr/local/lib/php/20041030/posix.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/session.so' - Cannot open 
"/usr/local/lib/php/20041030/session.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/sqlite.so' - Cannot open 
"/usr/local/lib/php/20041030/sqlite.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/tokenizer.so' - Cannot open 
"/usr/local/lib/php/20041030/tokenizer.so" in Unknown on line 
0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20041030/xml.so' - Cannot open 
"/usr/local/lib/php/20041030/xml.so" in Unknown on line 0
PHP 5.0.3 (cli) (built: Mar 16 2005 20:27:24)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
[kungpao:~]$


I've tried re-installing just the base install without any php 
configurations but to no avail.

Can anyone provide some insight on how I may solve this?


-Al

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux