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

openldap-2.2.2beta compilation...



Hi,

It's first time I have to compil openldap but I would like to test
openldap-2.2.2beta because it seems there is a better compatibility with
Active Directory pagination (RFC 2696)...

Actually there is openldap-2-1-21-1, openldap-clients-2.1.21-1 and
openldap-server-2.1.21-1 installed on my PC. I can't desinstall it because
there is lot of application using them...

What I would like to do is to test openlda-clients-2.2.2beta, without
desinstall anything. How to do it?

I begin to compil with RedHat 9.0 like this (with my user account):

./configure --enable-slapd=no
make depend
make 
=>creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
/bin/sh /home/gelinp/openldap-2.2.2beta/libtool --mode=link cc -static -g
-O2     -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lsasl2     -lresolv -ldl
cc -g -O2 -o apitest apitest.o  ./.libs/libldap.a
/home/gelinp/openldap-2.2.2beta/libraries/liblber/.libs/liblber.a
-L/usr/local/lib -L/usr/kerberos/lib
../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
/usr/lib/libsasl2.a -lcrypt -lresolv -ldl
./.libs/libldap.a(os-ip.o)(.text+0x245): In function
`ldap_pvt_is_socket_ready':
/home/gelinp/openldap-2.2.2beta/libraries/libldap/os-ip.c:199: `sys_errlist'
is deprecated; use `strerror' or `strerror_r' instead
./.libs/libldap.a(os-ip.o)(.text+0x23c):/home/gelinp/openldap-2.2.2beta/libraries/libldap/os-ip.c:199:
`sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
./.libs/libldap.a(cyrus.o)(.text+0x949): In function `ldap_int_sasl_bind':
/home/gelinp/openldap-2.2.2beta/libraries/libldap/cyrus.c:611: undefined
reference to `ldap_pvt_tls_sb_ctx'
./.libs/libldap.a(cyrus.o)(.text+0x96d):/home/gelinp/openldap-2.2.2beta/libraries/libldap/cyrus.c:616:
undefined reference to `ldap_pvt_tls_get_strength'
./.libs/libldap.a(cyrus.o)(.text+0x982):/home/gelinp/openldap-2.2.2beta/libraries/libldap/cyrus.c:618:
undefined reference to `ldap_pvt_tls_get_my_dn'
collect2: ld returned 1 exit status
make[2]: *** [apitest] Erreur 1
make[2]: Quitte le répertoire
`/home/gelinp/openldap-2.2.2beta/libraries/libldap'
make[1]: *** [all-common] Erreur 1
make[1]: Quitte le répertoire `/home/gelinp/openldap-2.2.2beta/libraries'
make: *** [all-common] Erreur 1

Any idea...