Red Hat Bugzilla – Bug 217228
openldap-2.2.13-6.4E does not build
Last modified: 2015-01-07 19:15:08 EST
Description of problem:
srpm fails to build
Version-Release number of selected component (if applicable):
rpmbuild --rebuild openldap-2.2.13-6.4E.src.rpm
liblber.so is not found by gcc (invoked by libtool) when linking
(please see lines no 12590 and 12603) of the attached log file.
apparently the path to the lber library is not passed to gcc.
I suspect the problem shows up because of the Mar 21 2006 entry
in the changelog "rebuild, using the system copy of libtool
for the compat libraries (#183331)"
I'm not sure, because I'm not very familiar with libtool, but I
guess that LT is not given the path to liblber.so, and looks for
the shared object in system paths. if this is true, it means that
- openldap cannot build unless openldap-devel is installed.
- compat ldap libraries are built against the lber library
included in the openldap-devel currently installed on the system,
which could cause subtle problems.
I'll provide further details if needed.
Created attachment 142108 [details]
you are right, the build is broken. Wrong libtool is used and the libraries are
built in wrong order, I will try to fix it in RHEL 4.6.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.