PHP Error

I was in the process of installing the horde base package today when all of a sudden I am getting the following errors for PHP:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/curl.so' - Shared object "libldap-2.4.so.6" not found, required by "libcurl.so.5" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/curl.so' - Shared object "libldap-2.4.so.6" not found, required by "libcurl.so.5" in Unknown on line 0

I have no idea how to fix this, so if someone would be kind enough to help direct me in the right direction, I would be extremely grateful!
 
Btw, I checked for either of these in the php.ini but did not find a reference that seems to be applicable.
 
You have, to my understanding, installed ftp/curl with ldap support, and then somehow deinstalled the openldap 2.4 port that was installed to satisfy this requriement. You need to either reinstall openldap24-client or reconfigure and reinstall the ftp/curl port and all ports depending on it(of which php5-curl is one) without ldap support.

The extensions aren't stored in php.ini but in /usr/local/etc/php/extensions.ini
 
I suppose I should have mentioned before that I went back and isntalled the ldap client (24) which was not installed, but that did not fix it. I even tried doing a reinstall on the curl ftp.

The error message still shows up.
 
You have to rebuild all ports that depend on curl also, ie # portmaster -r ftp/curl

And when that is all done, you have to restart your http server.
 
Sorry I have not responded before now....that is what happens when the ticker gives one trouble :)

I will try to get to this sometime tonight.
 
OK I tried to run the portmaster and I get the following:

Code:
# portmaster -r ftp/curl

===>>> No valid installed port, or port directory given
===>>> Try portmaster --help
 
Whenever I run the php I still get the following error:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/curl.so' - Shared object "libldap-2.4.so.6" 
not found, required by "libcurl.so.5" in Unknown on line 0
 
Missing libcurl.so.5

You might have /usr/local/lib/libcurl.so.6, in which case I simply:

# ln /usr/local/lib/libcurl.so.6 /usr/local/lib/libcurl.so.5

Maybe I shouldn't do that, but it seems OK and might get you up and running if you're in a bind...
 
This topic is six months old. Maybe opening a new topic with a proper description of the problem would be a better idea.
 
Back
Top