[openssl-users] openssl 1.0.2g build fails with 'no-comp' or 'no-comp no-bio' configure options?

Jeffrey Walton noloader at gmail.com
Thu Mar 10 18:50:57 UTC 2016


On Thu, Mar 10, 2016 at 12:04 PM, PGNet Dev <pgnet.dev at gmail.com> wrote:
> I'm building openssl 1.0.2g on linux64
>
> With my usual
>
>         ./config ...
>
> I end up with a successful build/install
>
>         openssl version
>                 OpenSSL 1.0.2g  1 Mar 2016
>
> If I add
>
>         ./config no-comp ...
>
> subsequent 'make' fails
>
>         make
>                 ...
>                 make[1]: Leaving directory
> '/usr/local/src/openssl/openssl-1.0.2g/ssl'
>                 making all in apps...
>                 make[1]: Entering directory
> '/usr/local/src/openssl/openssl-1.0.2g/apps'
>                 rm -f openssl
>                 shlib_target=; if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0"
> ]; then \
>                         shlib_target="linux-shared"; \
>                 elif [ -n "" ]; then \
>                   FIPSLD_CC="/usr/bin/gcc-5";
> CC=/usr/local/ssl/fips-2.0/bin/fipsld; export CC FIPSLD_CC; \
>                 fi; \
>                 LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
>                 make -f ../Makefile.shared -e \
>                         APPNAME=openssl OBJECTS="openssl.o verify.o
> asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o
> pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o
> genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o
> s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o
> pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o
> ocsp.o prime.o ts.o srp.o" \
>                         LIBDEPS=" $LIBRARIES -Wl,-z,relro,-z,now -ldl -lz" \
>                         link_app.${shlib_target}
>                 make[2]: Entering directory
> '/usr/local/src/openssl/openssl-1.0.2g/apps'
>                 enc.o: In function `enc_main':
>                 enc.c:(.text+0x1253): undefined reference to `BIO_f_zlib'
>                 collect2: error: ld returned 1 exit status
>                 ../Makefile.shared:171: recipe for target 'link_app.gnu'
> failed
>                 make[2]: *** [link_app.gnu] Error 1
>                 make[2]: Leaving directory
> '/usr/local/src/openssl/openssl-1.0.2g/apps'
>                 Makefile:156: recipe for target 'openssl' failed
>                 make[1]: *** [openssl] Error 2
>                 make[1]: Leaving directory
> '/usr/local/src/openssl/openssl-1.0.2g/apps'
>                 Makefile:292: recipe for target 'build_apps' failed
>                 make: *** [build_apps] Error 1
> ...
>
> Are additional/different config options required to enable/support the
> 'no-comp' & 'no-bio' options?

That appears to be a regression. You should consider filing a bug
report. Also see http://www.openssl.org/docs/faq.html#BUILD17.

Jeff


More information about the openssl-users mailing list