Date: Thu, 13 Apr 2017 10:43:29 -0300 (BRT) From: Rafael Henrique da Silva Faria <rafaelhfaria@fclar.unesp.br> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: LibreSSL + Heimdal Problem 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2062285033.4589984.1492091009488.JavaMail.zimbra>