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

RE: problems compiling with kerberos support



No easy answers yet. There are rumblings on the openssl mailing lists about
them renaming
all of their functions to have an OSSL prefix to avoid these naming
collisions, but nothing has been done yet.

You might try omitting libdes from your link, it's likely that the functions
are compatible and you can just use the OpenSSL versions. (After all the "S"
in DES is for "Standard", right? }-) Check the declarations of a couple of
these functions in their respective header files just to make sure, I'd bet
they are the same.

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

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Alex Stepney
> Sent: Friday, October 20, 2000 6:19 AM
> To: OpenLDAP-software@OpenLDAP.org
> Subject: problems compiling with kerberos support
>
>
> 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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>