httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas B. Jones" <>
Subject [users@httpd] SSL_set_cert_store symbol not found
Date Mon, 26 Jun 2006 19:33:43 GMT

When compiling apache 2.2 with:

./configure     --prefix=/usr/local/apache\

I get the following error message:

checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr/local/lib/openssl-0.9.8b
checking for OpenSSL version... checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for SSLeay_version in -lcrypto... yes
checking for SSL_CTX_new in -lssl... no
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for SSL_set_cert_store... no
configure: error: ... Error, SSL/TLS libraries were missing or unusable

Upon looking at the config.log file, I see:

configure:14271: cc -xarch=v9 -xcode=pic32 -o conftest -xarch=v9 -xcode=pic32 -x
usr/local/lib -R/usr/local/lib -L/usr/local/lib/openssl-0.9.8b/lib conftest.c -l
crypto  -lm  -luuid -lsendfile -lrt -lsocket -lnsl  -lpthread >&5
"conftest.c", line 84: warning: statement not reached
Undefined                       first referenced
 symbol                             in file
SSL_set_cert_store                  conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest

Looking at libssl.a, the only cert_store I see is:

[139]   |         19112|           8|FUNC |GLOB |0    |2      |SSL_CTX_get_cert_store
[140]   |         19144|          36|FUNC |GLOB |0    |2      |SSL_CTX_set_cert_store

and that is in libssl.a, not libcrypto.a. It has the CTX part in there, but
I see no reference to that in any C or header files. Note in the cc line above,
that libssl.a is not referred to, only libcrypto.a (-lcrypto). I feel confident
that I must have made a mistake somewhere along the line, just not sure where.
I am on Solaris 10 with Sun C compiler 5.8. Thanks for any help!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message