I am trying to build the current Github version of openssl on Ubuntu-14.04 LTS. Must add that this system has openssl-1.0.1f already installed (relict of Ubuntu software update process).
Everything seems to compile fine, but linking of “openssl” fails, complaining that it cannot find “CMS_CompressedData_it” reference. This only happens when I configure openssl with “zlib" ./config —prefix=/usr/local threads zlib I observed that “r CMS_CompressedData_it” is present in cms_asn1.o in libcrypto.a. This works fine and links everything correctly (and all the tests pass OK): ./config —prefix=/usr/local threads Any help is appreciated. Thanks! … making all in crypto/cms... make[2]: Entering directory `/media/uri/Src/openssl/crypto/cms' gcc -I.. -I../.. -I../modes -I../include -I../../include -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -Wall -O3 -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o cms_cd.o cms_cd.c ar r ../../libcrypto.a cms_lib.o cms_asn1.o cms_att.o cms_io.o cms_smime.o cms_err.o cms_sd.o cms_dd.o cms_cd.o cms_env.o cms_enc.o cms_ess.o cms_pwri.o cms_kari.o /usr/bin/ranlib ../../libcrypto.a || echo Never mind. make[2]: Leaving directory `/media/uri/Src/openssl/crypto/cms' making all in crypto/pqueue... make[2]: Entering directory `/media/uri/Src/openssl/crypto/pqueue' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/uri/Src/openssl/crypto/pqueue' making all in crypto/ts... make[2]: Entering directory `/media/uri/Src/openssl/crypto/ts' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/uri/Src/openssl/crypto/ts' making all in crypto/srp... make[2]: Entering directory `/media/uri/Src/openssl/crypto/srp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/uri/Src/openssl/crypto/srp' making all in crypto/cmac... make[2]: Entering directory `/media/uri/Src/openssl/crypto/cmac' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/uri/Src/openssl/crypto/cmac' if [ -n "" ]; then \ (cd ..; make libcrypto.so.1.1); \ fi make[1]: Leaving directory `/media/uri/Src/openssl/crypto' making all in engines... make[1]: Entering directory `/media/uri/Src/openssl/engines' making all in engines/ccgost... make[2]: Entering directory `/media/uri/Src/openssl/engines/ccgost' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/media/uri/Src/openssl/engines/ccgost' make[1]: Leaving directory `/media/uri/Src/openssl/engines' making all in ssl... make[1]: Entering directory `/media/uri/Src/openssl/ssl' if [ -n "" ]; then \ (cd ..; make libssl.so.1.1); \ fi make[1]: Leaving directory `/media/uri/Src/openssl/ssl' making all in apps... make[1]: Entering directory `/media/uri/Src/openssl/apps' rm -f openssl shlib_target=; if [ -n "" ]; then \ shlib_target="linux-shared"; \ fi; \ LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \ make -f ../Makefile.shared -e \ APPNAME=openssl OBJECTS="openssl.o asn1pars.o ca.o ciphers.o cms.o crl.o crl2p7.o dgst.o dhparam.o dsa.o dsaparam.o ec.o ecparam.o enc.o engine.o errstr.o gendsa.o genpkey.o genrsa.o nseq.o ocsp.o passwd.o pkcs12.o pkcs7.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o prime.o rand.o req.o rsa.o rsautl.o s_client.o s_server.o s_time.o sess_id.o smime.o speed.o spkac.o srp.o ts.o verify.o version.o x509.o rehash.o apps.o opt.o s_cb.o s_socket.o app_rand.o" \ LIBDEPS=" $LIBRARIES -ldl -lz" \ link_app.${shlib_target} make[2]: Entering directory `/media/uri/Src/openssl/apps' ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -ldl -lz}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -Wall -O3 -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o asn1pars.o ca.o ciphers.o cms.o crl.o crl2p7.o dgst.o dhparam.o dsa.o dsaparam.o ec.o ecparam.o enc.o engine.o errstr.o gendsa.o genpkey.o genrsa.o nseq.o ocsp.o passwd.o pkcs12.o pkcs7.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o prime.o rand.o req.o rsa.o rsautl.o s_client.o s_server.o s_time.o sess_id.o smime.o speed.o spkac.o srp.o ts.o verify.o version.o x509.o rehash.o apps.o opt.o s_cb.o s_socket.o app_rand.o ${LIBDEPS} ) ../libcrypto.a(cms_cd.o): In function `cms_CompressedData_create': cms_cd.c:(.text+0x1d): undefined reference to `CMS_CompressedData_it' collect2: error: ld returned 1 exit status make[2]: *** [link_app.] Error 1 make[2]: Leaving directory `/media/uri/Src/openssl/apps' make[1]: *** [openssl] Error 2 make[1]: Leaving directory `/media/uri/Src/openssl/apps' make: *** [build_apps] Error 1 -- Regards, Uri Blumenthal
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev