[stunnel-users] stunnel 5.36 released

Thireus thireus at gmail.com
Mon Oct 17 22:39:40 CEST 2016


Hi Michal,

Where can I find a detailed explanation about this zlib change? The reason I'm asking is that I can't compile stunnel on MacOS anymore:

Undefined symbols for architecture x86_64:
  "_deflate", referenced from:
      _zlib_stateful_compress_block in libcrypto.a(c_zlib.o)
      _bio_zlib_write in libcrypto.a(c_zlib.o)
      _bio_zlib_ctrl in libcrypto.a(c_zlib.o)
  "_deflateEnd", referenced from:
      _zlib_stateful_finish in libcrypto.a(c_zlib.o)
      _bio_zlib_free in libcrypto.a(c_zlib.o)
  "_deflateInit_", referenced from:
      _zlib_stateful_init in libcrypto.a(c_zlib.o)
      _bio_zlib_write in libcrypto.a(c_zlib.o)
  "_inflate", referenced from:
      _zlib_stateful_expand_block in libcrypto.a(c_zlib.o)
      _bio_zlib_read in libcrypto.a(c_zlib.o)
  "_inflateEnd", referenced from:
      _zlib_stateful_finish in libcrypto.a(c_zlib.o)
      _bio_zlib_free in libcrypto.a(c_zlib.o)
  "_inflateInit_", referenced from:
      _zlib_stateful_init in libcrypto.a(c_zlib.o)
      _bio_zlib_read in libcrypto.a(c_zlib.o)
  "_zError", referenced from:
      _bio_zlib_write in libcrypto.a(c_zlib.o)
      _bio_zlib_read in libcrypto.a(c_zlib.o)
      _bio_zlib_ctrl in libcrypto.a(c_zlib.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [stunnel] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

I'm a bit puzzled... :(

My compilation options are as follow:

For OpenSSL_1_0_2j:
./Configure darwin64-x86_64-cc threads -fPIC zlib no-dso no-ssl3 --prefix=/openssl-built/ --openssldir=/openssl-built/ssl

For stunnel (static build):
./configure --with-ssl=/openssl-built --enable-static --disable-shared

Any suggestions?
Thanks.

Thireus (thireus at gmail.com <mailto:thireus at gmail.com>)

> Le 22 Sep 2016 à 21:25, Michał Trojnara <Michal.Trojnara at stunnel.org> a écrit :
> 
>  - Removed direct zlib dependency.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20161017/8b89e25a/attachment.html>


More information about the stunnel-users mailing list