By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

unable to load dynamic libraries

P: n/a

I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages:

PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so

I get the same messages for the 12 modules that I updated.

In /usr/local/lib/php I have:

drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412
drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear

Now much of php doesn't work. How do you fix this?
Jim
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Mon, 20 Dec 2004 14:18:59 -0500, Jame Johnson <jj@yaaho.com> wrote:
I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages:

PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so

I get the same messages for the 12 modules that I updated.

In /usr/local/lib/php I have:

drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412
drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear

Now much of php doesn't work. How do you fix this?


What did you upgrade from?

PHP 5 isn't binary compatible with PHP 4, and PHP 5.0.3 isn't binary
compatible with 5.0.2 or prior (just did an upgrade here and had to get a new
version of the module for ChartDirector, for example).

If you have the source for the module, rebuild them, or get new binaries from
whatever location provides them.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

P: n/a
On Mon, 20 Dec 2004 20:05:51 +0000, Andy Hassall <an**@andyh.co.uk> wrote:
On Mon, 20 Dec 2004 14:18:59 -0500, Jame Johnson <jj@yaaho.com> wrote:
I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages:

PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so

I get the same messages for the 12 modules that I updated.

In /usr/local/lib/php I have:

drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412
drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear

Now much of php doesn't work. How do you fix this?


What did you upgrade from?

PHP 5 isn't binary compatible with PHP 4, and PHP 5.0.3 isn't binary
compatible with 5.0.2 or prior (just did an upgrade here and had to get a new
version of the module for ChartDirector, for example).

If you have the source for the module, rebuild them, or get new binaries from
whatever location provides them.


I ran:

cvsup
portsdb -Uu
pkgdb -vuf
portupgrade -v php5-session
portupgrade -v php5-mysql
....etc...
portupgrade -v php5
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.