Hi all,
I having a problem on "make" openldap.
/configure --prefix=/usr/local/openldap --with-tls --enable-slapd --with-cyrus-sasl --enable-crypt --enable-bdb
on make :
Entering subdirectory libldap make[2]: Entering directory `/usr/local/pkgs/openldap-2.3.34/libraries/libldap' /bin/sh ../..//libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB.4.5/lib -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -lcrypt -lresolv cc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB.4.5/lib ./.libs/libldap.a /usr/local/pkgs/openldap-2.3.34/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -lcrypt -lresolv ./.libs/libldap.a(os-ip.o): In function `ldap_pvt_is_socket_ready': /usr/local/pkgs/openldap-2.3.34/libraries/libldap/os-ip.c:205: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead /usr/local/pkgs/openldap-2.3.34/libraries/libldap/os-ip.c:205: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead ./.libs/libldap.a(tls.o): In function `sb_tls_bio_write': /usr/local/pkgs/openldap-2.3.34/libraries/libldap/tls.c:703: undefined reference to `BIO_clear_flags' /usr/local/pkgs/openldap-2.3.34/libraries/libldap/tls.c:707: undefined reference to `BIO_set_flags' ./.libs/libldap.a(tls.o): In function `sb_tls_bio_read': /usr/local/pkgs/openldap-2.3.34/libraries/libldap/tls.c:676: undefined reference to `BIO_clear_flags' /usr/local/pkgs/openldap-2.3.34/libraries/libldap/tls.c:680: undefined reference to `BIO_set_flags' ./.libs/libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx': /usr/local/pkgs/openldap-2.3.34/libraries/libldap/tls.c:374: undefined reference to `SSL_CTX_set_info_callback' collect2: ld returned 1 exit status make[2]: *** [apitest] Error 1 make[2]: Leaving directory `/usr/local/pkgs/openldap-2.3.34/libraries/libldap' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/usr/local/pkgs/openldap-2.3.34/libraries' make: *** [all-common] Error 1
any ideias, if someone needs more info about this problem, just ask for data.
Thanks, Duarte Lázaro
openldap-software@openldap.org