NYCPHP Meetup

NYPHP.org

[nycphp-talk] openssl not being picked up by configure

Hans Zaunere lists at zaunere.com
Sun Mar 27 17:07:11 EST 2005


> I recently rebuilt Apache 2.0.53 with:
> ...
> "--enable-ssl" \
> "--with-ssl=/usr/local" \
> ...
> and php 5.0.3 with:
> '--with-openssl=/usr/local' \
> 
> I was trying to use openssl 0.9.7f
> (also recently built)
> 
> when I enter:
> /usr/local/ssl/bin/openssl version

Looks like /usr/local/ssl is your base directory for the version of OpenSSL you want.  Give --with-openssl=/usr/local/ssl a shot....

If that works (or even if it doesn't) see what ldconfig has to say about where your libs are.  If Linux:

ldconfig -p | grep -i ssl

or, on a BSD:

ldconfig -r | grep -i ssl

And unless you have other dependencies (for instance, the old version of OpenSSL was probably installed using an RPM or some package system), I always remove the other versions of libs I don't want.  Having multiple lib versions can become quite confusing.

H





More information about the talk mailing list