Skip to content
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

Closed
ad-pro opened this issue Jan 28, 2021 · 5 comments
Closed

Missed file: sodium.h #56

ad-pro opened this issue Jan 28, 2021 · 5 comments

Comments

@ad-pro
Copy link

ad-pro commented Jan 28, 2021

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.

@jlouis
Copy link
Owner

jlouis commented Jan 28, 2021

You are missing header files for libsodium. Which platform are you on?

@ad-pro
Copy link
Author

ad-pro commented Jan 29, 2021

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....

@jlouis
Copy link
Owner

jlouis commented Jan 29, 2021 via email

@jlouis
Copy link
Owner

jlouis commented Jul 8, 2021

I'm closing this, since it's not really an issue in enacl per se.

@jlouis jlouis closed this as completed Jul 8, 2021
@taehwan-whippy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants