471,616 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 software developers and data experts.

unable to load dynamic libraries


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
2 2315
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
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.

Similar topics

3 posts views Thread by Willis Lang | last post: by
1 post views Thread by bissatch | last post: by
3 posts views Thread by Nikola Skoric | last post: by
4 posts views Thread by Abubakar | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.