> What's in your config.log file just after this line: ... configure:22597: checking for SSL_library_init in -lssl configure:22622: /usr/bin/gcc-4.8 -o conftest -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -march=amdfam10 -mtune=amdfam10 -I/usr/local/ssl/include -L/usr/local/ssl/lib64 conftest.c -lssl >&5 /usr/local/ssl/lib64/libssl.so: undefined reference to `EVP_idea_cbc' collect2: error: ld returned 1 exit status configure:22622: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "WebAuth" | #define PACKAGE_TARNAME "webauth" | #define PACKAGE_VERSION "4.5.5" | #define PACKAGE_STRING "WebAuth 4.5.5" | #define PACKAGE_BUGREPORT "webauth-t...@lists.stanford.edu" | #define PACKAGE_URL "" | #define PACKAGE "webauth" | #define VERSION "4.5.5" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define PACKAGE_BUILD_INFO "Built by r...@deskedgar.presence-group.net on 2013-09-27 04:31:48 UTC" | #define HAVE_DECL_AP_GET_SERVER_DESCRIPTION 1 | #define HAVE_DECL_AP_HOOK_CHECK_AUTHN 1 | #define HAVE_DECL_AP_REGISTER_AUTH_PROVIDER 1 | #define HAVE_DECL_AP_UNIXD_CONFIG 1 | #define HAVE_REQUEST_REC_USERAGENT_IP 1 | #define HAVE_MOD_AUTH_H 1 | #define SIZEOF_LONG 8 | #define HAVE_KRB5_H 1 | #define HAVE_KRB5_KRB5_H 1 | #define HAVE_KRB5_GET_ERROR_MESSAGE 1 | #define HAVE_KRB5_FREE_ERROR_MESSAGE 1 | #define HAVE_KERBEROS 1 | #define HAVE_KRB5_CC_GET_FULL_NAME 1 | #define HAVE_KRB5_FREE_STRING 1 | #define HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC 1 | #define HAVE_KRB5_UNPARSE_NAME_FLAGS 1 | #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1 | #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1 | #define HAVE_DECL_KRB5_KT_FREE_ENTRY 1 | #define HAVE_KRB5_MIT 1 | #define HAVE_GSSAPI_GSSAPI_H 1 | #define HAVE_GSSAPI_GSSAPI_KRB5_H 1 | #define HAVE_GSS_RFC_OIDS 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char SSL_library_init (); | int | main () | { | return SSL_library_init (); | ; | return 0; | } configure:22631: result: no configure:22636: error: cannot find usable OpenSSL library ...
otoh, if I export LDFLAGS="-L/usr/local/ssl/lib64 -Wl,-rpath,/usr/local/ssl/lib64 -lssl -lcrypto -L/usr/local/lib64" export LIBS="-lssl -lcrypto" export CPPFLAGS="-I/usr/local/ssl/include" then ./configure ... make works correctly ldd ./lib/.libs/libwebauth.so | egrep "libssl|libcrypto" libssl.so.1.0.0 => /usr/local/ssl/lib64/libssl.so.1.0.0 (0x00007f9993267000) libcrypto.so.1.0.0 => /usr/local/ssl/lib64/libcrypto.so.1.0.0 (0x00007f9992e7b000) the ./configure --with-ssl* opts are not, apparently, functional/sufficient.