From owner-freebsd-ports@freebsd.org Thu Apr 13 13:43:41 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E894D3BB93 for ; Thu, 13 Apr 2017 13:43:41 +0000 (UTC) (envelope-from rafaelhfaria@fclar.unesp.br) Received: from zimbra.fclar.unesp.br (zimbra.fclar.unesp.br [IPv6:2801:88:fc1::134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90E68E5A for ; Thu, 13 Apr 2017 13:43:40 +0000 (UTC) (envelope-from rafaelhfaria@fclar.unesp.br) Received: from localhost (ip6-localhost [IPv6:::1]) by zimbra.fclar.unesp.br (Postfix) with ESMTP id 094CEFE11CD for ; Thu, 13 Apr 2017 10:43:31 -0300 (BRT) Received: from zimbra.fclar.unesp.br ([IPv6:::1]) by localhost (zimbra.fclar.unesp.br [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id neM_HkNsp_0u for ; Thu, 13 Apr 2017 10:43:29 -0300 (BRT) Received: from localhost (ip6-localhost [IPv6:::1]) by zimbra.fclar.unesp.br (Postfix) with ESMTP id C6C3BFE11EC for ; Thu, 13 Apr 2017 10:43:29 -0300 (BRT) X-Virus-Scanned: amavisd-new at fclar.unesp.br Received: from zimbra.fclar.unesp.br ([IPv6:::1]) by localhost (zimbra.fclar.unesp.br [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id OqS5PuAHTjS2 for ; Thu, 13 Apr 2017 10:43:29 -0300 (BRT) Received: from zimbra.fclar.unesp.br (zimbra.fclar.unesp.br [200.145.78.134]) by zimbra.fclar.unesp.br (Postfix) with ESMTP id A2288FE11CD for ; Thu, 13 Apr 2017 10:43:29 -0300 (BRT) Date: Thu, 13 Apr 2017 10:43:29 -0300 (BRT) From: Rafael Henrique da Silva Faria To: freebsd-ports Message-ID: <2062285033.4589984.1492091009488.JavaMail.zimbra@fclar.unesp.br> In-Reply-To: <772e1d45-7d6f-0bfe-9288-c9b00aefbe66@utanet.at> References: <1869116246.4572254.1492088596375.JavaMail.zimbra@fclar.unesp.br> <772e1d45-7d6f-0bfe-9288-c9b00aefbe66@utanet.at> Subject: Re: LibreSSL + Heimdal Problem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [2801:88:fc1:0:0:0:0:fae1] X-Mailer: Zimbra 8.7.0_GA_1659 (ZimbraWebClient - GC56 (Linux)/8.7.0_GA_1659) Thread-Topic: LibreSSL + Heimdal Problem Thread-Index: boZjv0JSHZFz04eQzYOoc3/GiT2zPA== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2017 13:43:41 -0000 I tried with "portmaster -x heimdal security/libressl". The LibreSSL port w= as recompiled with success. But it was already up to date before. But yet, if I try to recompile heimdal, with just a simple: "cd /usr/ports/= security/heimdal; make clean; make", it will abort. But in Heimdal configure, it finds the LibreSSL new version lib: -- =3D=3D=3D> Applying FreeBSD patches for heimdal-7.1.0_2 =3D=3D=3D> heimdal-7.1.0_2 depends on package: pkgconf>=3D1.3.0_1 - found =3D=3D=3D> heimdal-7.1.0_2 depends on executable: makeinfo - found =3D=3D=3D> heimdal-7.1.0_2 depends on file: /usr/local/lib/libcrypto.so.4= 1 - found =3D=3D=3D> heimdal-7.1.0_2 depends on shared library: libintl.so - found = (/usr/local/lib/libintl.so) =3D=3D=3D> heimdal-7.1.0_2 depends on shared library: libreadline.so.6 - = found (/usr/local/lib/libreadline.so.6) =3D=3D=3D> heimdal-7.1.0_2 depends on shared library: libdb-5.3.so - foun= d (/usr/local/lib/libdb-5.3.so) =3D=3D=3D> Configuring for heimdal-7.1.0_2 -- So, the LibreSSL is up to date, and the configure finds the "libcrypto.so.4= 1". But for some reason, in the linking process, the libtool try to link "libhc= rypto.so.4" with "libcrypto.so.38", which no longer exists. -- Compile Error: libtool: link: cc -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wm= issing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declaration= s -Wnested-externs -Wshadow -DINET6 -O2 -pipe -march=3Dnocona -fstack-prote= ctor -isystem /usr/local/include -fno-strict-aliasing -Wl,-rpath -Wl,/usr/l= ocal/lib/heimdal:/usr/lib -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -= o .libs/otptest otptest.o -L/usr/local/lib ./.libs/libotp.so -lpthread -Wl= ,-rpath -Wl,/usr/local/lib/heimdal /usr/bin/ld: warning: libcrypto.so.38, needed by /usr/local/lib/heimdal/lib= hcrypto.so.4, not found (try using -rpath or -rpath-link) /usr/local/lib/heimdal/libhcrypto.so.4: undefined reference to `EVP_DigestI= nit' ... /usr/local/lib/heimdal/libhcrypto.so.4: undefined reference to `EVP_MD_bloc= k_size' cc: error: linker command failed with exit code 1 (use -v to see invocation= ) *** Error code 1 Stop. make[4]: stopped in /var/ports/usr/ports/security/heimdal/work/heimdal-7.1.= 0/lib/otp *** Error code 1 -- So, I just want to know, why is libtool trying to link with libcrypto.so.38= , and not with libcrypto.so.41... where is libtool getting the 38 version o= f that file? Thanks for your reply. -- Rafael Henrique da Silva Faria Grupo de Sistemas e Redes Diretoria T=C3=A9cnica de Inform=C3=A1tica Faculdade de Ci=C3=AAncias e Letras - Campus de Araraquara UNESP - Universidade Estadual Paulista "J=C3=9ALIO DE MESQUITA FILHO"