Not sure if you care about redhat 7.x but thought I would share that
openldap from 1.2.0 failed to build on redhat 7.1 until I removed the redhat
cyrus-sasl-devel rpm (cyrus-sasl-devel-1.5.24-22.7.i386.rpm). Redhat 8.0 has
cyrus-sasl 2.1.7 which probably will work though it is probably using the
openpkg sasl headers and the OS's library (uh-oh). I believe this problem
will occur with all redhat 7.x as they all use cyrus-sasl 1.5.24. After
removing redhat's RPM it built fine.
Here was the failure:
/bin/sh /opt/openpkg/RPM/TMP/openldap-2.1.12/libtool --mode=link
/opt/openpkg/bin/cc -static -O2 -pipe -L/opt/openpkg/lib -o apitest
apitest.o libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lsasl -lssl -lcrypto -lresolv -ldl
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
/opt/openpkg/bin/cc -O2 -pipe -o apitest apitest.o -L/opt/openpkg/lib
./.libs/libldap.a
/opt/openpkg/RPM/TMP/openldap-2.1.12/libraries/liblber/.libs/liblber.a
-L/usr/kerberos/lib ../../libraries/liblber/.libs/liblber.a
../../libraries/liblutil/liblutil.a /usr/lib/libsasl.a /usr/lib/libgdbm.a
-lcrypt -lpam -lssl -lcrypto -lresolv -ldl
/.libs/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
cyrus.o(.text+0xd5b): undefined reference to `sasl_errdetail'
cyrus.o(.text+0xd8d): undefined reference to `sasl_errdetail'
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
error: Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.78498 (%build)
RPM build errors:
Bad exit status from /opt/openpkg/RPM/TMP/rpm-tmp.78498 (%build)
----
Martin Andrews
[EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]