[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Dependency issue with libldap2.4_2-2.4.11-1.rhel5.i386.rpm



On Thursday 18 September 2008 16:12:37 karthikd@aol.in wrote:
> Hello All,
>
> I was initially trying to build openldap 2.4.11 source on a RHEL 5.0
> system, where in I ran into dependency issues with BDB 4.2, since RHEL
> 5.0 comes only with BDB 4.3.
>
> While searching the openldap-software mailing lists, I came across a
> post from Mr.Buchan Milne saying he has openldap 2.4 binary packages on
> his site
>
> http://staff.telkomsa.net/packages/rhel5/openldap/
>
> So, I downloaded the openldap 2.4.11 packages from the site above.
>
> First, I tried to install openldap2.4-2.4.11-1.rhel5.i386.rpm, which
> gave me the following dependency errors :
>
> rpm -ivh openldap2.4-2.4.11-1.rhel5.i386.rpm
> warning: openldap2.4-2.4.11-1.rhel5.i386.rpm: Header V3 DSA signature:
> NOKEY, key ID 60d204a7
> error: Failed dependencies:
>          libldap2.4_2 = 2.4.11-1.rhel5 is needed by
> openldap2.4-2.4.11-1.rhel5.i386
>
> So, then I downloaded  libldap2.4_2-2.4.11-1.rhel5.i386.rpm which gave
> me the following dependncy errors during installation:
>
> rpm -ivh libldap2.4_2-2.4.11-1.rhel5.i386.rpm
> warning: libldap2.4_2-2.4.11-1.rhel5.i386.rpm: Header V3 DSA signature:
> NOKEY, key ID 60d204a7
> error: Failed dependencies:
>          openldap2.4 >= 2.1.25-4mdk is needed by
> libldap2.4_2-2.4.11-1.rhel5.i386
>
> I couldn't understand what this dependency error is. Any pointers would

I should probably put this somewhere else than just where it is 
(http://staff.telkomsa.net/packages/OpenLDAP.repo), but it does contain this 
information:

# 1)Save as /etc/yum.repos.d/OpenLDAP.repo
#   wget http://staff.telkomsa.net/packages/OpenLDAP.repo -O 
/etc/yum.repos.d/OpenLDAP.repo
# 2)
# RHEL5: 
#   yum upgrade openldap-servers
# or
#   yum install openldap2.4-servers
# RHEL4 and older: 
#   yum install openldap2.3-servers
# or
#   yum install openldap2.4-servers
# Install libhoard or lib64hoard for a better memory allocator

If you download the RPMS individually, you need to do something like:

rpm -Uvh libldap2.4_2-2.4.11-1.rhel5.i386.rpm 
openldap2.4-2.4.11-1.rhel5.i386.rpm

(these two packages are inter-dependant, so they must be upgraded together).

Regards,
Buchan