[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: AI_ADDRCONFIG in libldap/os-ip.c on solaris9
On Sun, 15 Aug 2004, Mike O'Rourke wrote:
Igor Brezac <igor@ipass.net> 08/15/04 05:32am
On Sat, 14 Aug 2004, Quanah Gibson-Mount wrote:
--On Saturday, August 14, 2004 11:32 PM +0200 Mike O'Rourke
<mjoop@curia.op.org> wrote:
Hi all,
I am compiling OpenLDAP 2.2.15 on Solaris 9. When I run 'make
test',
the first test fails with 'ldap_bind: Can't contact LDAP server
(-1)'.
This is just a guess, but if you compiled OpenLDAP with the tcp
wrapper
support, add slapd entry in hosts.allow for localhost (127.0.0.1). If
you
share you build procedure and test logs, we might be able to help you
I have not seen your original response, so my guess was completely off
mark.
better.
OK ... but pardon the post's length.
my build environment
gcc is gcc-3 (gcc 3.3.2) from SUN's Software Companion CD which I
downloaded in August 2004
bind is bind9.2.4rc6 (compiled locally)
BerkeleyDB is 4.2.52 with the 2 patches (compiled locally)
SASL is 2.1.19 (compiled locally)
SSL is OpenSSL 0.9.7d (compiled locally)
('export' lines wrapped for readability)
export CFLAGS="-I/usr/local/bind/include
-I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/ssl/include
-I/opt/sfw/gcc-3/include
-I/usr/local/include/sasl"
export CPPFLAGS="-I/usr/local/bind/include
-I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/ssl/include
-I/opt/sfw/gcc-3/include
-I/usr/local/include/sasl"
export LDFLAGS="-L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib
-L/usr/local/ssl/lib
-L/usr/local/lib/sasl2
-L/opt/sfw/gcc-3/lib"
export LIBS="-R /opt/sfw/gcc-3/lib:
/usr/local/BerkeleyDB.4.2/lib:
/usr/local/ssl/lib:
/usr/local/lib -ldb-4.2
-lssl -lsocket -lnsl -lrt -lbind"
./configure --enable-debug --enable-ipv6 --with-cyrus-sasl \
--without-kerberos --with-tls --enable-slapd --enable-cleartext \
--enable-crypt --enable-spasswd --enable-bdb --enable-slurpd
I think your problem is related with bind. Try to remove references to
bind and recompile.
--
Igor