[stunnel-users] Static Version Built?
Kevin A. McGrail
kevin.mcgrail at thoughtworthy.com
Wed Mar 15 17:51:25 CET 2006
You have to have the SSL libs so the --with-ssl probaly just "helps" the
configure program use the right SSL. For example, I typically keep the
redhat openssl rpm and use a version in /usr/local/ssl so I would have to
do --with-ssl=/usr/local/ssl/ to use the libraries installed there instead
of the "default" ones.
----- Original Message -----
From: "Hal Vaughan" <hal at thresholddigital.com>
To: <stunnel-users at mirt.net>
Sent: Wednesday, March 15, 2006 11:48 AM
Subject: Re: [stunnel-users] Static Version Built?
> On Wednesday 15 March 2006 02:48, Hal Vaughan wrote:
> > Okay, I think I have a static version of Stunnel now. Thanks to help
> > and answers from Jan and Keven!
> >
> >
> > I did this:
> >
> > ./configure --with-ssl=/usr --enable-static --disable-shared
> > --disable-libwrap
> >
> > I'm not sure about the "--with-ssl" option, but it didn't seem to
> > want to work without it.
> >
> > So I have a few questions:
> >
> > 1) How can I be sure it is static?
> > 2) If it isn't static and I run it on a system that does not have all
> > it needs, will it give me errors immediately, or only if a subroutine
> > needs a library that isn't there.
> > 3) Does the "--disable-libwrap" or anything else remove any features?
>
> I got a few answers on this. From what I understand, yes, this removes
> features, but those are features that aren't needed on the client end,
> which is no problem for me, since the static version will only be used
> as a client.
>
> > 4) Does using the "--with-ssl" option make it use the libs on my
> > system and make it non-static?
>
> It turns out it was a typo (that's what I get for trying it at 2:30
> am!), and it compiles without the "--with-ssl" option. I'll be testing
> this later today and looking up this on Google, but what features am I
> losing on the client by not using this option? And does using it make
> the compiled version dependant on those libraries? I take it that the
> compiler is not just taking those libraries and incorporating them into
> the binary if I use "--enable-static" and "--disable-shared". Is that
> right?
>
> Thanks again for those that have helped, like Kevin, Jan, and John. It
> looks like I'm finally getting close to what I need! Getting this
> working will save me hours on many occasions.
>
> Hal
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at mirt.net
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
>
More information about the stunnel-users
mailing list