Acme-client withOpenSSL 1.1.1


#1

Hello,
On FreeBSD 12-STABLE, I upgraded OpenSSL from base to OpenSSL 1.1.1 from ports, for various reasons linked to the upgrade from 11-STABLE.
But acme-clent complaints about libraries :
pkg check -Bdsv acme-client
[1/1] Checking acme-client-0.1.16_4: dependencies… checksums… shared libraries… done
acme-client is missing a required shared library: libtls.so.18
acme-client is missing a required shared library: libssl.so.46
acme-client is missing a required shared library: libcrypto.so.44
When I try to rebuilt (whith portupgrade), it insists to link against LibreSSL, despite the fact that I have
DEFAULT_VERSIONS+=ssl=openssl111
Obvioulsy build fails, since LibreSSL install files in the same place.

Have you any clue about this problem ?

TIA,
Regrds,
Xavier


#2

This looks like a challenge indeed! It’s possible there is someone here who has run into the same problem, but since this appears to be a packaging issue with FreeBSD, you might also want to try a FreeBSD-specific community.

Some basic ideas I can offer as a non-FreeBSD user:

  • what happens if you uninstall and reinstall acme-client?
  • do you have other tools built against OpenSSL? Are they working?

#3

By the way, is OpenSSL 1.1.1 working? (e.g. can you normally use it?)


#4

Jsha,

Thanks for your answer. If I try to reinstall using binaries which I usually don’t do since I use sources upgrade :

pkg install -f acme-client

Updating FreeBSD repository catalogue…
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
acme-client-0.1.16_4

And all runs OK, and the error is gone.
But portupgrade (from sources) still fails. I’ll forward it to the FreeBSD maintainer.

Many thanks,

Xavier