[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: problems compiling with kerberos support
Well, I've made a little further with my problem. If I remove SSL support the
code compiles, but if I try an ldapseach with -k (for Kerberos authentication)
I get the message:
ldapsearch: not compiled with Kerberos support
Any ideas as to what is going on? I've been going round in circles.
Thanks
Alex.
Hi,
I'm having a few problems compiling OpenLDAP (2.0.x) with Kerberos
support on RedHat 6.2 (kernel 2.2.17). My Kerberos is Heimdal 0.3c.
The compilation fails on slapd with the following warning messages re-
garding libdes and libcrypto (OpenSSL 0.9.6):
/usr/local/lib/libcrypto.a(set_key.o)(.data+0x0): multiple definition of
`des_check_key'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set_
k ey.c:80: first defined here
/usr/local/lib/libcrypto.a(set_key.o): In function `des_set_odd_parity':
set_key.o(.text+0x340): multiple definition of `des_set_odd_parity'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set_
k ey.c:80: first defined here
/usr/bin/ld: Warning: size of symbol `des_set_odd_parity' changed from 34
to 49 in set_key.o
/usr/local/lib/libcrypto.a(set_key.o): In function `des_is_weak_key':
set_key.o(.text+0x3c0): multiple definition of `des_is_weak_key'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set_
k ey.c:132: first defined here
/usr/bin/ld: Warning: size of symbol `des_is_weak_key' changed from 56 to
69 in set_key.o
/usr/local/lib/libcrypto.a(set_key.o): In function `des_set_key':
set_key.o(.text+0x410): multiple definition of `des_set_key'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set_
k ey.c:161: first defined here
/usr/bin/ld: Warning: size of symbol `des_set_key' changed from 676 to 62
in set_key.o
/usr/local/lib/libcrypto.a(set_key.o): In function `des_key_sched':
set_key.o(.text+0x450): multiple definition of `des_key_sched'
/usr/local/lib/libdes.a(set_key.o):/usr/local/src/heimdal-0.3c/lib/des/set_
k ey.c:242: first defined here
/usr/bin/ld: Warning: size of symbol `des_key_sched' changed from 16 to 62
in set_key.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_encrypt':
dx86-elf.o(.text+0x0): multiple definition of `des_encrypt'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des_
e nc.c:65: first defined here
/usr/bin/ld: Warning: size of symbol `des_encrypt' changed from 4947 to
4157 in dx86-elf.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_encrypt2':
dx86-elf.o(.text+0x1040): multiple definition of `des_encrypt2'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des_
e nc.c:166: first defined here
/usr/bin/ld: Warning: size of symbol `des_encrypt2' changed from 4753 to
3999 in dx86-elf.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_encrypt3':
dx86-elf.o(.text+0x1fe0): multiple definition of `des_encrypt3'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des_
e nc.c:261: first defined here
/usr/bin/ld: Warning: size of symbol `des_encrypt3' changed from 271 to
292 in dx86-elf.o
/usr/local/lib/libcrypto.a(dx86-elf.o): In function `des_decrypt3':
dx86-elf.o(.text+0x2110): multiple definition of `des_decrypt3'
/usr/local/lib/libdes.a(des_enc.o):/usr/local/src/heimdal-0.3c/lib/des/des_
e nc.c:284: first defined here
/usr/bin/ld: Warning: size of symbol `des_decrypt3' changed from 271 to
292 in dx86-elf.o
collect2: ld returned 1 exit status
make[2]: *** [slapd] Error 1
make[2]: Leaving directory `/usr/local/src/openldap-2.0.6/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/local/src/openldap-2.0.6/servers'
make: *** [all-common] Error 1
Anyone got any ideas?
Many thanks
Alex - Systems Engineer
alex.stepney@bluewave.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bluewave Ltd - Online Creations
http://www.bluewave.com
Tel. +44 (0)20 7706 3500
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alex - Systems Engineer
alex.stepney@bluewave.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bluewave Ltd - Online Creations
http://www.bluewave.com
Tel. +44 (0)20 7706 3500
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~