[stunnel-users] Problems with stunnel 4.10 compilation

Oleg Ivanov saruman at unigsm.com
Sat May 14 04:49:22 CEST 2005


Hello.

I've compiled stunnel 4.10 without any problems on my Gentoo workstation
and RedHat server. But now I need to install it into my old legacy
Mandrake 8.2 server and here I've got into troubles.

I've updated zlib and openssl (configuring it with "zlib" option) to
their latest versions, then tried to make stunnel and got following errors:

---
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_compress_block':
c_zlib.o(.text+0x48): undefined reference to `compress'
/usr/lib/libcrypto.a(c_zlib.o): In function `zz_uncompress':
c_zlib.o(.text+0x145): undefined reference to `inflateInit_'
c_zlib.o(.text+0x159): undefined reference to `inflate'
c_zlib.o(.text+0x16c): undefined reference to `inflateEnd'
c_zlib.o(.text+0x18b): undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make[1]: *** [stunnel] Error 1
make: *** [all-recursive] Error 1
---

It seems like problems with zlib so I've double-checked it - but zlib
1.2.2 is really installed. If I recompile openssl without "zlib" option
then I can make stunnel but it can't initialize zlib compression
algorithm that I really need. And if I compile openssl with zlib -
stunnel fails on make with errors.

Can anyone help with it please? I really stuck 8(

PS: My system's parameters according to support page requirements:
# uname -a
Linux localhost 2.4.27-vs1.29 #2 SMP Tue Oct 5 15:51:37 CDT 2004 i686
unknown

glibc version: 2.2.4

# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)

# openssl version
OpenSSL 0.9.7g 11 Apr 2005

Best Regards, Oleg Ivanov.

-- Oleg Ivanov
mailto: saruman at unigsm.com




More information about the stunnel-users mailing list