LibreSSL + Heimdal Problem

Rafael Henrique da Silva Faria rafaelhfaria at fclar.unesp.br
Thu Apr 13 14:15:14 UTC 2017


The new version of the lib exists:

root at 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

But the .38, which I believe that was from previous version, does not.

root at cenpe / # ls -al /usr/local/lib/libcrypto.so.38
ls: /usr/local/lib/libcrypto.so.38: No such file or directory

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.

This Heimdal problem is really odd. I not sure why it looks for the old file...

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:

root at cenpe / # ldd /usr/local/lib/heimdal/libhcrypto.so.4
/usr/local/lib/heimdal/libhcrypto.so.4:
	libasn1.so.8 => /usr/local/lib/heimdal/libasn1.so.8 (0x80123b000)
	libheimbase.so.1 => /usr/local/lib/heimdal/libheimbase.so.1 (0x8014e0000)
	libroken.so.18 => /usr/local/lib/heimdal/libroken.so.18 (0x8016ef000)
	libcrypt.so.5 => /lib/libcrypt.so.5 (0x801901000)
	libcrypto.so.38 => not found (0)
	libthr.so.3 => /lib/libthr.so.3 (0x801b20000)
	libc.so.7 => /lib/libc.so.7 (0x800823000)
	libcom_err.so.1 => /usr/local/lib/heimdal/libcom_err.so.1 (0x801d47000)
	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x801f4a000)

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?

--
Rafael Henrique da Silva Faria
Grupo de Sistemas e Redes

Diretoria Técnica de Informática
Faculdade de Ciências e Letras - Campus de Araraquara
UNESP - Universidade Estadual Paulista "JÚLIO DE MESQUITA FILHO"


More information about the freebsd-ports mailing list