[stunnel-users] Static Binaries for Linux? (Didn't get answer previously)

Jan Meijer jan.meijer at surfnet.nl
Mon Mar 13 09:24:43 CET 2006


On Mon, 13 Mar 2006, Hal Vaughan wrote:

> I've brought this up before and didn't get ANY answer at all, and I'm
> sure someone involved with Stunnel would at least know if what I'm
> asking is possible.  I know help is given on a volunteer basis, so if
> someone could help me figure this out, it would be a huge help.  So far
> I've spent over a week on getting Stunnel or another program to do the
> job and if I can't get this to work, I need to just drop Stunnel and
> figure out how to do the same thing in Java.  So thanks for any help.
> I may need to include Stunnel with my application so my clients behind
> restrictive firewalls can still enable me to work on their systems with
> RealVNC.  I'm working with clients on both Windows and Linux.  
> Is there a way to get static binaries for Linux?  I don't know C or C++
> or much more than running ./configure && make && make install.  I'd
> like to know if it is possible or what is needed to create static
> binaries of the files so I could easily install stunnel on any Linux
> system by just copying over the proper files.

./configure --help | grep static

says it should be easy.  I tried it though and on my Debian Sarge system
it doesn't work, the net endresult of it is:

meijer at gebbetje:~/pki/stunnel/stunnel-4.14$ ./configure --enable-static
--disable-libwrap --disable-shared

meijer at gebbetje:~/pki/stunnel/stunnel-4.14$ ldd src/stunnel
        libdl.so.2 => /lib/libdl.so.2 (0x4001d000)
        libutil.so.1 => /lib/libutil.so.1 (0x40020000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40023000)
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40038000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
        libc.so.6 => /lib/libc.so.6 (0x40169000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I don't have the time to debug this.  Hopefully Mike reads this and jumps
in ;0.



More information about the stunnel-users mailing list