Bug 170190
Summary: | Compilation failded: openldap-2.2.13-3.src.rpm | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Vesselin Kolev <vlk> |
Component: | openldap | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openldap-2.2.13-7.src.rpm | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-04 15:05:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vesselin Kolev
2005-10-08 16:40:52 UTC
I solve the problem. This is what i've changed in openldap.spec (in diff style): --- openldap.spec.orig 2005-10-08 21:38:37.000000000 +0300 +++ openldap.spec 2005-10-08 21:38:24.000000000 +0300 @@ -267,7 +267,8 @@ popd pushd openldap-%{version_20}/build-db -LIBS=-lpthread; export LIBS +LIBS="-lpthread -lresolv"; export LIBS +#LIBS=-lpthread; export LIBS %configure \ --disable-shared \ --without-cyrus-sasl \ @@ -351,7 +352,8 @@ # Build the 2.1 server tools for dumping out old on-disk databases. This # requires Berkeley DB 4.3.x. pushd openldap-%{version_21}/build-servers -LIBS=-lpthread; export LIBS +LIBS="-lpthread -lresolv"; export LIBS +#LIBS=-lpthread; export LIBS %configure \ --disable-shared \ --disable-dynamic \ @@ -370,6 +372,7 @@ # Build the client libraries for the compat package. pushd openldap-%{compat_version}/build-compat +LIBS="-lpthread -lresolv"; export LIBS %configure \ --disable-slapd --disable-slurpd \ --with-threads=posix --disable-static --enable-shared --enable-dynamic \ @@ -405,7 +408,7 @@ } # Build the servers with Kerberos support (for password checking, mainly). -LIBS=-lpthread; export LIBS +LIBS="-lpthread -lresolv"; export LIBS pushd openldap-%{version_22}/build-servers build \ --enable-plugins \ @@ -432,6 +435,7 @@ # Build clients without Kerberos password-checking support, which is only # useful in the server anyway, to avoid stray dependencies. pushd openldap-%{version_22}/build-clients +LIBS="-lpthread -lresolv"; export LIBS build \ --disable-slapd \ --disable-slurpd \ @@ -446,6 +450,7 @@ # Build evolution-specific clients just as we would normal clients, except with # a different installation directory in mind and no shared libraries. pushd evo-openldap-%{version_22} +LIBS="-lpthread -lresolv"; export LIBS build \ --disable-slapd \ --disable-slurpd \ The problem is that there is no ld argument -lresolv in the original openldap.spec file. The bug is not reproduceable with current openldap-2.2.13-7.src.rpm |