I am trying to use enacl in a server I’m building. The problem is a missing .so file. This is my deps section from rebar.config:
{deps, [
{cowboy, ".*", {git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}},
{jiffy, ".*", {git, "https://github.com/davisp/jiffy.git", {branch, "master"}}},
{erlcron, ".*", {git, "https://github.com/erlware/erlcron.git", {branch, "master"}}},
{libsodium, ".*", {git, "https://github.com/jedisct1/libsodium.git", {branch, "stable"}}},
{enacl, ".*", {git, "https://github.com/jlouis/enacl.git", {branch, "master"}}}
]}.
During compilation I can see both libsodium and enacl being built, but when I attempt to run the server,
it crashes with the error
lenacl_nif: '/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/lib/libsodium.so.26```
My gclib local version:
(Ubuntu GLIBC 2.35-0ubuntu3.7) 2.35