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

Re: RE24 testing call#1 (OpenLDAP 2.4.32)

On 06/04/12 at 11:56am, Quanah Gibson-Mount wrote:
> If you know how to build OpenLDAP manually, and would like to participate in
> testing the next set of code for the 2.4.32 release, please do so.
> Generally, get the code for RE24:
> <http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=snapshot;h=refs/heads/OPENLDAP_REL_ENG_2_4;sf=tgz>
> Configure & build.
> Execute the test suite (via make test) after it is built.
> Thanks!

Some makefiles seem to be missing -lgcrypt:

cc -g -O2 -I../../include        -I../../include       -c -o apitest.o apitest.c
/bin/sh ../../libtool --mode=link cc -static -g -O2     -o apitest apitest.o
libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lsasl2  -lgnutls   -lresolv
cc -g -O2 -o apitest apitest.o  ./.libs/libldap.a
../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a
-lsasl2 -lgnutls -lresolv
/usr/bin/ld: ./.libs/libldap.a(tls_g.o): undefined reference to symbol
/usr/bin/ld: note: 'gcry_control@@GCRYPT_1.2' is defined in DSO
/lib64/libgcrypt.so.11 so try adding it to the linker command line
/lib64/libgcrypt.so.11: could not read symbols: Invalid operation

Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat