httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas B. Jones" <doug...@gpc.edu>
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\
                --includedir=/usr/local/include\
                --enable-so\
                --enable-module=expires\
                --enable-module=info\
                --enable-module=proxy\
                --enable-module=so\
                --enable-module=rewrite\
                --enable-module=auth_dbm\
                --enable-module=usertrack\
                --enable-module=log_agent\
                --enable-module=log_referer\
                --enable-module=auth_anon\
                --enable-layout=Apache\
                --with-ldap\
                --enable-ldap\
                --enable-authnz-ldap\
                --enable-dav\
                --enable-dav-lock\
                --enable-deflate\
                --enable--expires\
                --enable-headers\
                --enable-info\
                --enable-mime-magic\
                --enable-rewrite\
                --enable-unique-id\
                --enable-usertrack\
                --with-pmp-prefork\
                --enable-ssl\
                --with-ssl=/usr/local/lib/openssl-0.9.8b\
                --enable-mods-share=most

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
OK
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
arch=v9 -xcode=pic32 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -L/
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message