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

passwd.c:1256: undefined reference to `des_set_key_unchecked' (ITS#2631)



Full_Name: Arend Slomp
Version: 2.1.21
OS: SuSE Linux 7.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.241.173.245)


Building LDAP would give the following error:
cc -g -O2 -o slapd main.o daemon.o connection.o search.o filter.o add.o cr.o
attr.o entry.o config.o backend.o result.o operation.o dn.o compare.o modify.o
delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o
filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o
lock.o controls.o extended.o kerberos.o passwd.o schema.o schema_check.o
schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o
saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o
module.o mra.o mods.o limits.o backglue.o operational.o matchedValues.o cancel.o
version.o -pthread  libbackends.a ../../libraries/libavl/libavl.a
../../libraries/libldbm/libldbm.a ../../libraries/liblunicode/liblunicode.a
../../libraries/librewrite/librewrite.a ../../libraries/libldif/libldif.a
../../libraries/liblutil/liblutil.a ../../libraries/libldap_r/.libs/libldap_r.a
/root/openldap-2.1.21/libraries/liblber/.libs/liblber.a -L/usr/local/lib
../../libraries/liblber/.libs/liblber.a /usr/local/lib/libdb-4.1.a
/usr/local/lib/libsasl2.so -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err -ldes
-lssl -lcrypto -lresolv -ldl -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib
../../libraries/liblutil/liblutil.a(passwd.o): In function `hash_lanman':
/root/openldap-2.1.21/libraries/liblutil/passwd.c:1252: undefined reference to
`des_set_key_unchecked'
/root/openldap-2.1.21/libraries/liblutil/passwd.c:1256: undefined reference to
`des_set_key_unchecked'
collect2: ld returned 1 exit status
make[2]: *** [slapd] Error 1

I use:

OpenSSL 0.9.7
MIT Kerberos 5 Build 1.2.6