LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2009, 06:03 PM   #1
ssa2204
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
Php5.2 upgrade - lib problem


I am trying to upgrade my Php from 5.1 to 5.2, using yum I get two dependency errors:
libldap-2.3.so.0 is needed by package php-ldap
liblber-2.3.so.0 is needed by package php-ldap

I currently have openldap 2.4 installed. So I did a link from:
libldap-2.4.so.2.2.0 to libldap-2.3.so.0
liblber-2.4.so.2.2.0 to liblber-2.3.so.0

Yet I still get the same error. What exactly could I have done?
 
Old 04-01-2009, 09:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,096

Rep: Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381Reputation: 4381
Quote:
Originally Posted by ssa2204 View Post
I am trying to upgrade my Php from 5.1 to 5.2, using yum I get two dependency errors:
libldap-2.3.so.0 is needed by package php-ldap
liblber-2.3.so.0 is needed by package php-ldap

I currently have openldap 2.4 installed. So I did a link from:
libldap-2.4.so.2.2.0 to libldap-2.3.so.0
liblber-2.4.so.2.2.0 to liblber-2.3.so.0

Yet I still get the same error. What exactly could I have done?
You should get the same error, since the dependency is looked at in the RPM database, not actual files. Also, linking as you've done is a VERY bad idea.

You got the errors, because you also need to update php-ldap, and probably your ldap development libraries too. Since you don't say anything about what version/distro of Linux you're using, hard to give you a specific solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade php4 to php5 ripper Linux - Newbie 3 07-19-2008 10:14 PM
Can I upgrade to PHP5 (from 4.2.2) on Redhat 9 ? ricardo-smythe Linux - Newbie 2 02-13-2008 04:47 PM
I want to upgrade to apache 2.2 php5 and mysql5 mahmoud Linux - Newbie 4 12-05-2007 07:29 AM
php5 module location /usr/lib/20060613 bentz Linux - Software 2 03-05-2007 11:30 PM
php5 - problems after upgrade rickbot Linux - Software 5 01-23-2007 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration