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

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
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
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement