Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 11:47:54 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Rafael Henrique da Silva Faria <rafaelhfaria@fclar.unesp.br>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: LibreSSL + Heimdal Problem
Message-ID:  <9ECE70BF-505B-415B-B57C-E3CADC35BA28@adamw.org>
In-Reply-To: <567926723.4598753.1492092911643.JavaMail.zimbra@fclar.unesp.br>
References:  <283c214d-07e1-4a6b-e733-283118fb99a1@utanet.at> <9144fcfa-0264-87ce-469f-6ee82e5df0f4@utanet.at> <567926723.4598753.1492092911643.JavaMail.zimbra@fclar.unesp.br>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 13 Apr, 2017, at 8:15, Rafael Henrique da Silva Faria =
<rafaelhfaria@fclar.unesp.br> wrote:
>=20
> The new version of the lib exists:
>=20
> root@cenpe / # ls -al /usr/local/lib/libcrypto.so
> lrwxr-xr-x  1 root  wheel  19 Apr 13 10:29 /usr/local/lib/libcrypto.so =
-> libcrypto.so.41.0.1
>=20
> But the .38, which I believe that was from previous version, does not.
>=20
> root@cenpe / # ls -al /usr/local/lib/libcrypto.so.38
> ls: /usr/local/lib/libcrypto.so.38: No such file or directory
>=20
> All apps that uses LibreSSL (nginx, php, mysql, and others) have been =
compiled without problem. Only heimdal is aborting. And OpenSSH does not =
pass the configure, but I think that this is an other problem, maybe =
some hard-coded openssl check.
>=20
> This Heimdal problem is really odd. I not sure why it looks for the =
old file...
>=20
> I only have a guess: the Heimdal is already installed, linked with the =
old LibreSSL, which is broken now. But, the file is in place. And a got =
this:
>=20
> root@cenpe / # ldd /usr/local/lib/heimdal/libhcrypto.so.4
> /usr/local/lib/heimdal/libhcrypto.so.4:
> 	libasn1.so.8 =3D> /usr/local/lib/heimdal/libasn1.so.8 =
(0x80123b000)
> 	libheimbase.so.1 =3D> /usr/local/lib/heimdal/libheimbase.so.1 =
(0x8014e0000)
> 	libroken.so.18 =3D> /usr/local/lib/heimdal/libroken.so.18 =
(0x8016ef000)
> 	libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x801901000)
> 	libcrypto.so.38 =3D> not found (0)
> 	libthr.so.3 =3D> /lib/libthr.so.3 (0x801b20000)
> 	libc.so.7 =3D> /lib/libc.so.7 (0x800823000)
> 	libcom_err.so.1 =3D> /usr/local/lib/heimdal/libcom_err.so.1 =
(0x801d47000)
> 	libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x801f4a000)
>=20
> But, as I know, the make process of the Heimdal, can't abort if the =
actually installed Heimdal is broken. Or I really need an clean system =
(without any previous installed Heimdal) to compile it?

Many ports cannot compile correctly if previous versions are installed. =
This is why we strongly, strongly recommend poudriere or synth over =
portmaster. You can try removing the installed heimdal and then =
re-running make.

# Adam


=E2=80=94
Adam Weinberger
adamw@adamw.org
http://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ECE70BF-505B-415B-B57C-E3CADC35BA28>