otuv

otuv

Failing NIF crypto 4.8

Hi,

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[1]: Started APP service.
Mar 23 19:16:50 xx APP[16061]: 2021-03-23 19:16:50.237268
Mar 23 19:16:50 xx APP[16061]:     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?

Marked As Solved

hauleth

hauleth

There probably is one, but in this case You must update your server. Ubuntu 16.04 LTS support ends next month so whoever is responsible of upgrading that server should do it now. So just force whoever is responsible for upgrades to do their job.

EDIT: maybe it isn’t the answer You expected, or answer that helps You, but it is an answer you should be given some time ago already.

Last Post!

otuv

otuv

Thank you for spelling that out.

Only having an outgoing version as image option is rather sad.

I will change provider.

Where Next?

Popular in Questions Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36820 110
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement