I am using RHEL 5.6 and trying to install stunnel with the 'xforwardfor' patch from haproxy to get a setup similar to this (older) post: http://www.buro9.com/blog/2009/12/07/installing-haproxy-load-balance-http-and-https/
When I run ./configure I get the following error:
*snip*
configure: **************************************** SSL
checking for SSL directory... Not found
Couldn't find your SSL library installation dir
Use --with-ssl option to fix this problem
From the stunnel documentation I need to pass a directory that has the ssl libraries (assuming libssl.so ? ) as well as a 'certs' directory.
I've tried creating a /etc/openssl directory with a 'certs' directory and a symlink to /lib64/libssl.so.6
but that didn't work.
What other libraries would I need ?
Update
From the config.log:
It was created by stunnel configure 4.32, which was generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --with-ssl=/lib64
## --------- ##
## Platform. ##
## --------- ##
uname -m = x86_64
uname -r = 2.6.18-238.12.1.el5
uname -s = Linux
* snip *
configure:23977: **************************************** SSL
configure:23996: checking for SSL directory
configure:24019: result: Not found
And running ls /lib64 | grep ssl
:
$ ls -l /lib64 | grep ssl
-rwxr-xr-x 1 root root 315032 Dec 7 2010 libssl.so.0.9.8e
lrwxrwxrwx 1 root root 16 Jul 13 18:48 libssl.so.6 -> libssl.so.0.9.8e