Compiling errors with PHP+SSL

From: Date: Thu, 13 Sep 2001 16:04:22 +0000
Subject: Compiling errors with PHP+SSL
Groups: php.install 
Request: Send a blank email to php-install+get-4287@lists.php.net to get a copy of this message
I just recently installed OpenSSL 0.9.6b, then Apache 1.3.20+mod_ssl 2.8.4 and now I want to add on PHP 4.0.6. However, when I try to compile, it fails with the following error: --- SNIPPET --- 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! ===> Script "configure" failed: here are the contents of "config.log" --- END SNIPPET --- So, I looked at the bottom of the output and I see: -- SNIPPET --- configure:7920: cc -o conftest -O -pipe -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/w ww/data/" -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME ="httpready" -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT conftest.c -lssl -lcrypto -lm 1>&5 /usr/lib/libssl.so: undefined reference to `sk_new_null' /usr/lib/libssl.so: undefined reference to `RAND_add' ... about 6 more undefined references ... /usr/lib/libssl.so: undefined reference to `RAND_pseudo_bytes' --- END SNIPPET --- Anyone have any ideas what is happening? I have libssl.so, .so.0, .so.1, .so.2, and .a all in /usr/local/lib. PHP was searching in /usr/lib for it, so I made symbolic links in /usr/lib for all of those files. - Jonathan

« previous php.install (#4287) next »