On Mon, Mar 2, 2009 at 7:17 PM, Jim Perrin jperrin@gmail.com wrote:
On Mon, Mar 2, 2009 at 7:44 AM, Agnello George agnello.dsouza@gmail.com wrote:
Hi
I am trying to upgrde out openldap ver 2.3 to the lastest version 2.4, howevre there is no rpm avaibale for 2.4 so i decide to create my own for centOS flavour 5.2
It's probably worth mentioning that the openldap version shipped with centos is very heavily linked throughout the distribution. If you upgrade the ldap version, you may have to provide older libraries for backwards compatibility (as the base package does) or you'll have to rebuild everything built against openldap against your new version.
[solved]
You were rith about the backwards compatibility issue , the older libraries would be liblber-2.3.so.0 and libldap-2.3.so.0 ........ .
i was chking out the cent os dev maillist archives for this particular issue and foud that Jeff Sheltren created the src rpm the link here http://staff.osuosl.org/~jeff/openldap/
i jsut did a rpmbulid again the created spec file and it creates rpm called compat-openldap-2.4.11_2.3.27-1.3.el5.i386.rpm that does the magic :-D
less compat-openldap-2.4.11_2.3.27-1.3.el5.i386.rpm
lrwxr-xr-x 1 root root 21 Mar 2 19:41 /usr/lib/liblber-2.3.so.0 -> liblber-2.3.so.0.2.15 -rwxr-xr-x 1 root root 137508 Mar 2 19:41 /usr/lib/liblber-2.3.so.0.2.15 lrwxr-xr-x 1 root root 21 Mar 2 19:41 /usr/lib/libldap-2.3.so.0 -> libldap-2.3.so.0.2.15 -rwxr-xr-x 1 root root 757630 Mar 2 19:41 /usr/lib/libldap-2.3.so.0.2.15 lrwxr-xr-x 1 root root 23 Mar 2 19:41 /usr/lib/libldap_r-2.3.so.0 -> libldap_r-2.3.so.0.2. 15 -rwxr-xr-x 1 root root 827929 Mar 2 19:41 /usr/lib/libldap_r-2.3.so.0.2.15 . . .
Thanks again for all the help
Agnello