Hi,

I have stunnel version as below installed on Mac:

stunnel 4.33 on i386-apple-darwin10.2.0 with OpenSSL 0.9.8k 25 Mar 2009
Threading:PTHREAD SSL:ENGINE Sockets:SELECT,IPv6 Auth:LIBWRAP
 
Global options
debug           = daemon.notice
pid             = /usr/local/var/run/stunnel/stunnel.pid
RNDbytes        = 64
RNDfile         = /dev/urandom
RNDoverwrite    = yes
 
Service-level options
cert            = /usr/local/etc/stunnel/stunnel.pem
ciphers         = ALL:!aNULL:!eNULL:!SSLv2
session         = 300 seconds
stack           = 65536 bytes
sslVersion      = SSLv3 for client, all for server
TIMEOUTbusy     = 300 seconds
TIMEOUTclose    = 60 seconds
TIMEOUTconnect  = 10 seconds
TIMEOUTidle     = 43200 seconds
verify          = none

I would like to upgrade the openssl version to 1.0.0a, so I do
./configure --with-ssl=dir
make
make install

After make install i get below error:

make install
Making install in src
test -z "/usr/local/bin" || ../auto/install-sh -c -d "/usr/local/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'stunnel' '/usr/local/bin/stunnel'
/usr/bin/install -c stunnel /usr/local/bin/stunnel
test -z "/usr/local/bin" || ../auto/install-sh -c -d "/usr/local/bin"
 /usr/bin/install -c 'stunnel3' '/usr/local/bin/stunnel3'
test -z "/usr/local/lib/stunnel" || ../auto/install-sh -c -d "/usr/local/lib/stunnel"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c  'libstunnel.la' '/usr/local/lib/stunnel/libstunnel.la'
/usr/bin/install -c .libs/libstunnel.dylib /usr/local/lib/stunnel/libstunnel.dylib
/usr/bin/install -c .libs/libstunnel.lai /usr/local/lib/stunnel/libstunnel.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/stunnel

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
Making install in doc
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/stunnel" || ../auto/install-sh -c -d "/usr/local/share/doc/stunnel"
 /usr/bin/install -c -m 644 'stunnel.html' '/usr/local/share/doc/stunnel/stunnel.html'
 /usr/bin/install -c -m 644 'stunnel.pl.html' '/usr/local/share/doc/stunnel/stunnel.pl.html'
 /usr/bin/install -c -m 644 'stunnel.fr.html' '/usr/local/share/doc/stunnel/stunnel.fr.html'
test -z "/usr/local/share/man/man8" || ../auto/install-sh -c -d "/usr/local/share/man/man8"
mkdir: /usr/local/share/man/man8: Permission denied
make[2]: *** [install-man8] Error 1
make[1]: *** [install-am] Error 2



and when I check the stunnel version it still uses the old ssl version.
Am I doing something wrong here?

--
Thanks,
Bhavna
Quantitative Brokers
646 293 1808
DISCLAIMER:
This e-mail and any attachments are for the confidential use of the 
intended recipient. If you are not the intended recipient of this 
message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited. This 
communication is for information purposes only and should not be 
regarded as an offer to sell or as a solicitation of an offer to buy 
any investment product, an official confirmation of any transaction 
or an official statement of Quantitative Brokers, LLC.

E-mail transmissions cannot be guaranteed to be secure or error-free. 
Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.

All information is subject to change without notice. 
Quantitative Brokers may, at its discretion, monitor and review the 
content of all e-mail communications.