From Michael Riepe: On e.g. an x86_64 Linux system, configure won't find libcrypto because it's located in .../lib64. As a temporal workaround, use the last part of $libdir instead of "lib". On the long run, AC_LBL_SSLEAY should probably be rewritten.