Closed ad-pro closed 3 years ago
You are missing header files for libsodium. Which platform are you on?
I am on Debian. I have missed comment that dev version should be installed. Would it be possible to compile libsodium too? I am not sure what would be the best way to release Application that use enacl. As normally erlang release file include all needed components. If I use enacl, I need somehow ensure that libsodium is installed on target machine....
You can attempt to static-link libsodium into the Erlang release. I haven't tried that. Also note that if you go this route, you don't get security updates from your Debian system anymore, but have to rely on a rebuild of your application.
Other routes are Containers in some form, or NixPkgs.
On Fri, Jan 29, 2021 at 1:00 PM Anton notifications@github.com wrote:
I am on Debian. I have missed comment that dev version should be installed. Would it be possible to compile libsodium too? I am not sure what would be the best way to release Application that use enacl. As normally erlang release file include all needed components. If I use enacl, I need somehow ensure that libsodium is installed on target machine....
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jlouis/enacl/issues/56#issuecomment-769763668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABMH57F6T3BLL2NCMFS5LS4KPNLANCNFSM4WXIXA3A .
-- J.
I'm closing this, since it's not really an issue in enacl per se.
Sorry for asking on closed issues but I have same error and it is not from this package. But How can I install header file in Mac os? There is no such thing like libsodium-dev
Tried to compile project: make got error message:
nacl/c_src/aead.c:1:10: fatal error: sodium.h: No such file or directory
include
compilation terminated.