I'm trying to build PHP with the latest openssl-0.9.7g.

openssl installed into /usr/local/ssl/ lib, bin, etc..

I've configured php to point here for its ssl libs:

--with-openssl=/usr/local/ssl/

Configure works just fine. But I get the following make error:

/usr/local/src/php-4.3.11/ext/openssl/openssl.c:565: undefined reference
to `OpenSSL_add_all_algorithms'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

The ssl libraries are properly linked, I've add /usr/local/ssl/lib to
/etc/ld.so.conf and ran ldconfig several times.

I ran strings on the new openssl libraries, libssl and librypto.
libcrypto turns up with:

OpenSSL_add_all_ciphers
OpenSSL_add_all_digests
OpenSSL_add_all_ciphers
OpenSSL_add_all_digests
OpenSSL_add_all_ciphers
OpenSSL_add_all_digests

But neither library seem to have "OpenSSL_add_all_algorithms", which is
what PHP is complaining about not being able to find. Did this method
just get dropped in the new openssl and is yet to be supported by PHP?

Any help would be great!

Reply via email to