Originally Posted by ssa2204
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.