-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missed file: sodium.h #56
Comments
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 ***@***.***> 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
<#56 (comment)>, 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 |
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 <sodium.h>
^~~~~~~~~~
compilation terminated.
The text was updated successfully, but these errors were encountered: