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

Re: RE24 testing call#1 (OpenLDAP 2.4.32)



Jan Synacek wrote:
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:

The Makefiles are only supposed to reference -lgnutls. Your linker obviously knows that libgnutls references libgcrypt; it should be satisfying the dependency itself.

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
/home/jsynacek/Downloads/openldap-f6fd75c/libraries/liblber/.libs/liblber.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
'gcry_control@@GCRYPT_1.2'
/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



--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/