Date: Tue, 20 Aug 2002 18:37:01 +0200 From: Marc Schoechlin <ms@LF.net> To: ports@FreeBSD.org Subject: Compile OpenLDAP Message-ID: <20020820163701.GA37753@LF.net>
next in thread | raw e-mail | index | archive | help
Hi ! I have to do a special setup of OpenLDAP on a FreeBSD 4.3-Machine, but I have a big problem in compiling that application. I downloaded openldap-2.0.25 from www.openldap.org and I followed the steps in the INSTALL-file. (at first I didnīt change any config...) Is there a special document available, which describes how to compile openldap ? After "make" i got the following errors: -------------------------------------------------------- .... .... rm -f ../libldap.la d=`pwd`; d=`basename $d`; cd ..; ln -s $d/libldap.la libldap.la; t=`basename libldap.la .la`.a; rm -f $t; ln -s $d/.libs/$t $t if test "no" = "yes"; then d=`pwd`; d=`basename $d`; b=`basename libldap.la .la`; cd .libs; t=`echo $b*.so`; (cd ../.. ; rm -f $t; ln -s $d/.libs/$t $t); if test "so" != dll; then t=`echo $b.so.?`; cd ../.. ; rm -f $t; ln -s $d/.libs/$t $t; fi fi /bin/sh /usr/local/users/support/ms/openldap/openldap-2.0.25/libtool --mode=link cc -O2 -I/client/include -L/client/lib -I../../include -I../../include -I/client/include -L/usr/local/users/support/ms/openldap/openldap-2.0.25/libraries -o apitest apitest.o -lldap -llber -llutil -lssl -lcrypto -lssl -lcrypto -pthread -L/client/lib cc -O2 -I/client/include -L/client/lib -I../../include -I../../include -I/client/include -L/usr/local/users/support/ms/openldap/openldap-2.0.25/libraries -o apitest apitest.o -lldap -llber -llutil -lssl -lcrypto -lssl -lcrypto -pthread -L/client/lib /usr/lib/libc.so.4: WARNING! setkey(3) not present in the system! /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is stupid. /usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp() /usr/local/users/support/ms/openldap/openldap-2.0.25/libraries/libldap.a(util-int.o): In function `ldap_pvt_gethostbyname_a': util-int.o(.text+0x41): undefined reference to `__h_errno' *** Error code 1 Stop in /usr/local/users/support/ms/openldap/openldap-2.0.25/libraries/libldap. *** Error code 1 Stop in /usr/local/users/support/ms/openldap/openldap-2.0.25/libraries. *** Error code 1 Stop in /usr/local/users/support/ms/openldap/openldap-2.0.25. ------------------------------------------------------------------- How can I fix this ? Regards Marc Schoechlin -- Gruss / Best regards | LF.net GmbH | fon +49 711 90074-413 Marc Schoechlin | Ruppmannstr. 27 | fax +49 711 90074-33 ms@LF.net | D-70565 Stuttgart | http://www.lf.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020820163701.GA37753>