473,327 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 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 2406
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stefan | last post by:
Hi, I just downloaded PHP-4.3.3 for win32 and got the extensions folder and dropped it intot he root of the PHP directory and set it's path in the PHP.ini: extension_dir =...
3
by: Willis Lang | last post by:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' - Access is denied. Error keeps coming up on server. I made sure the security settings were set on the file and all...
19
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php...
1
by: bissatch | last post by:
Hi, I have just finishing installing apache and PHP4. It is claiming that it cannot find the php_domxml.dll file giving me the following error when I go to load a page with dom xml function on...
7
by: ccp999 | last post by:
I keep getting this: "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found." when I tried to load the php_mysql.dll...
3
by: Nikola Skoric | last post by:
Hi there, When I try to connect to mysql, I get: Fatal error: Call to undefined function mysql_connect() in D:\www\kviz \scripts\data_connect.php on line 3 PHP Warning: PHP Startup: Unable to...
4
by: Abubakar | last post by:
Hi, I'm using vs2k5 vc++ (native/unmanaged). I just took a separate copy of a project from source control (vss) and after fixing its dependencies build it and it builds fine. But when I try to...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
9
by: Christopher Koeber | last post by:
Hello, I am attempting to perform a PHP installation on an Apache 2.2.6 web server instance that is loaded on a Windows 2003 server operating system (R2 SP2). I have a third party application...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.