I’m trying to deploy a phoenix app with releases on a ubuntu 16 server but fail what seems to be due to a missing NIF library.
This is the log message I get:
Mar 23 19:16:47 xx systemd: Started APP service. Mar 23 19:16:50 xx APP: 2021-03-23 19:16:50.237268 Mar 23 19:16:50 xx APP: args: [load_failed,"Failed to load NIF library /root/APP/lib/crypto-4.8/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory'","OpenSSL might not be installed on this system.\n"]
It has always worked when I produced the release on my old ubuntu 16 computer but right now I’m on a ubuntu 18 machine and suspect it might be something there.
I checked the openssl version on my current machine and it is 1.1.1 and then tried to upgrade openssl on the server as well but it fails with this message.
This system (linux-x86_64) is not supported
Seems hard to get around.
Unfortunately I’m not in a position to just upgrade the server. I guess I could build it in some ubuntu 16 container or similar but it would be a rather large way around.
Is there some way to force the inclusion of this specific dependancy?