[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heimdal-0.5 configure and libcrypto



On 19 Sep 2002, Johan Danielsson wrote:

> Wolfgang Friebel <friebel@ifh.de> writes:
>
> > While it compiles and links smoothly, it crashes when executing
> > (SIGSEGV).
>
> You're not supposed to run it.
>
> How does it fail in the first place, anything interesting in
> config.log?

No, I did not understand why it fails, I do have the 0.9.6x libs
with the required functions.
Could it be that -ldes should be enough to resolve the symbols. If yes,
then that does not work on my system, as I do have a shared libcrypto:
nm libdes.a contains only
U MD4_Init and not a line where the symbol is defined.

The extract of config.log:

configure:10548: gcc  -o conftest -DHAVE_OPENSSL -I/usr/athena/include -g
-O2
conftest.c -L/usr/athena/lib -lkrb  >&5
/tmp/ccVHIuss.o: In function `main':
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10535:
undefined reference to `MD4_Init'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10536:
undefined reference to `MD5_Init'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10537:
undefined reference to `SHA1_Init'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10539:
undefined reference to `des_cbc_encrypt'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10540:
undefined reference to `RC4'
collect2: ld returned 1 exit status
configure:10551: $? = 1
...
configure:10548: gcc  -o conftest -DHAVE_OPENSSL -I/usr/athena/include -g
-O2
conftest.c -L/usr/athena/lib -ldes  >&5
/tmp/cc3Kk8Pu.o: In function `main':
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10535:
undefined reference to `MD4_Init'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10536:
undefined reference to `MD5_Init'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10537:
undefined reference to `SHA1_Init'
/afs/cern.ch/user/f/friebel/w0/afskrb/heimdal-0.5/configure:10540:
undefined reference to `RC4'
collect2: ld returned 1 exit status
configure:10551: $? = 1
...
configure:10657: gcc  -o conftest -DHAVE_OPENSSL  -g -O2   conftest.c
-lcrypto >&5
configure:10660: $? = 0
configure:10663: test -s conftest
configure:10666: $? = 0
configure:10670: result: libcrypto
configure:10698: error: the crypto library used by krb4 lacks features
required by Kerberos 5; to continue, you need to install a newer
Kerberos 4 or configure --without-krb4