[stunnel-users] libstunnel.so

Andrew Schulman andrex at alumni.utexas.net
Thu Oct 5 22:15:16 CEST 2006

The Debian stunnel (actually stunnel4) package includes
/usr/lib/libstunnel.so.  I have two questions about this file:

(1) What is its purpose?  ldd shows that /usr/bin/stunnel doesn't depend on
it.  So is this the shared library referred to in stunnel(1), under the
'transparent' option?  The man page says that to use 'transparent' one has
to LD_PRELOAD env.so, but I don't find any env.so.  I see that env.c is used
in building libstunnel.a, so I'm guessing that the man page meant to say
libstunnel.so instead of env.so.

(2) How does one build it?  configure includes a --with-shared-libs option,
but even when that's enabled I don't get a libstunnel.so when I build.  And
I can't find any make targets for any .so files.  Yet Debian includes this


More information about the stunnel-users mailing list