|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-12 07:40 UTC] edward dot t dot quick at britishairways dot com
[2001-10-13 10:02 UTC] sniper@php.net
[2001-10-15 04:29 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 22:00:02 2026 UTC |
Hi, I am trying to build apache-1.3.20 with mod-ssl and php. After running mod-ssl configure, I run the apache configure, then goto the php directory and run that configure. That's where I get stuck. Here's my configure command: ./configure --with-apache=../apache_1.3.20 --with-mysql=/usr/local/mysql --enable-memory-limit=yes --enable-debug=no --with-java=/usr/local/java --with-openssl=/usr/local/openssl That runs for quite a long time and finally ends with a message about libssl not found: checking whether to install PEAR... yes checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/local/php/bin checking for OpenSSL support... yes checking for OpenSSL version... >= 0.9.5 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... no configure: error: libssl not found! This is the tail -50 from config.log: configure:7217: checking for readdir_r configure:7245: cc -o conftest -g -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket 1>&5 configure:7267: checking for type of readdir_r configure:7303: cc -o conftest -g -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket 1>&5 configure:7404: checking whether to include debugging symbols configure:7457: checking layout of installed files configure:7502: checking path to configuration file configure:7563: checking whether to install PEAR configure:7621: checking whether to enable safe mode by default configure:7676: checking for safe mode exec dir configure:7717: checking for OpenSSL support configure:7782: checking for OpenSSL version configure:7844: checking for CRYPTO_free in -lcrypto configure:7863: cc -o conftest -g -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl/lib -L/usr/local/openssl/lib conftest.c -lcrypto -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket 1>&5 configure:7901: checking for SSL_CTX_set_ssl_version in -lssl configure:7920: cc -o conftest -g -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/openssl/lib -L/usr/local/openssl/lib conftest.c -lssl -lcrypto -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket 1>&5 Undefined first referenced symbol in file __eprintf /usr/local/openssl/lib/libcrypto.a(b_print.o) ld: fatal: Symbol referencing errors. No output written to conftest configure: failed program was: #line 7909 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char SSL_CTX_set_ssl_version(); int main() { SSL_CTX_set_ssl_version() ; return 0; } Let me know if you need any more information. Thanks, Ed.