В сообщении от 4 февраля 2014 01:02:47 автор Peter Bieringer написал:
Hi Nikoli,
thank you again for testing.
Am 03.02.2014 20:22, schrieb Nikoli:
but the following is not expected:
checking for MD5_Init in -lcrypto... yes checking for MD5_Init... no checking for MD5_Update... no checking for MD5_Final... no checking for MD5_Transform... no
on my Fedora system this part of configure.in works: LDFLAGS="$LDFLAGS -lcrypto" AC_CHECK_FUNCS(MD5_Init MD5_Update MD5_Final
MD5_Transform,
[ ], [
ENABLE_BUNDLED_MD5=1
])
checking for MD5_Init in -lcrypto... yes checking for MD5_Init... yes checking for MD5_Update... yes checking for MD5_Final... yes checking for MD5_Transform... yes
disabling: LDFLAGS="$LDFLAGS -lcrypto"
would show same result as yours...looks like the LDFLAGS on your systems must be set different...would be great if you can support me here.
Same CC argument order problem: it does not support --as-needed, without it configure detects md5 fine. Attached config.log without and with LDFLAGS="-Wl,-- hash-style=gnu -Wl,-O1 -Wl,--as-needed"
reproduced, configure.in fixed, please try again - also I've prepended now in autogen.sh the call of configure with
LDFLAGS="$LDFLAGS -Wl,--as-needed"
to detect such issues earlier.
Don't wonder about the patches applied to lib, I've all the old debug code leftovers in lib with new style macros.
Regards, Peter
It links to libcrypto.so.1.0.0 now :)