472,984 Members | 2,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,984 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 2386
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.