My libcrypto does dynamic library linking (dlopen(), etc) and consequently prerequires libdl. I.e. if you link with -lcrypto, you must also specify -ldl. I don't know how unique this situation is to me, but it causes configure to fail. The symptom is that configure complains that libcrypto does not exist (because it does a test link to test for existence of libcrypto and assumes that any failure means libcrypto does not exist). It looks to me like configure needs to try with -ldl too. Adding -ldl to LDFLAGS made everything work. -- Bryan Henderson Phone 408-621-2000 San Jose, California
Circa 2002-Jul-04 23:59:49 +0000 dixit Bryan Henderson: : My libcrypto does dynamic library linking (dlopen(), etc) and : consequently prerequires libdl. [...] : It looks to me like configure needs to try with -ldl too. : : Adding -ldl to LDFLAGS made everything work. http://bugzilla.mindrot.org/show_bug.cgi?id=307 -- jim knoble | jmknoble at pobox.com | http://www.pobox.com/~jmknoble/ (GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 262 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020705/a726d85f/attachment.bin