tcpdump mailing list archives
Autoconf problem detecting libcrypto
From: Greg Stark <gsstark () mit edu>
Date: 13 Jun 2003 13:21:32 -0400
My libcrypto doesn't appear to have a function called des_cbc_encrypt. I don't
know what that means. This is openssl version 0.9.7b-2.
I hacked the configure test to look for a function I see with nm and
print-esp.c seems to compile, so perhaps this isn't the best choice of
function? Perhaps it should test for a function that print-esp.c actually
needs?
Or is this a case of some macro being needed in order to find the function so
the test should use an include file or something?
I don't know. Applying this patch is probably wrong because I have no idea
what other versions of openssl have.
bash-2.05b$ diff -u configure.in.~1.163.~ configure.in
--- configure.in.~1.163.~ 2003-05-02 04:48:25.000000000 -0400
+++ configure.in 2003-06-13 13:16:08.000000000 -0400
@@ -710,7 +710,7 @@
if test -f $ac_cv_ssleay_path/lib/librsaref.a; then
LIBS="$LIBS -lrsaref"
fi
- AC_CHECK_LIB(crypto, des_cbc_encrypt)
+ AC_CHECK_LIB(crypto, DES_xcbc_encrypt)
bak_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $V_INCLS"
--
greg
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- Autoconf problem detecting libcrypto Greg Stark (Jun 13)
