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

Won't run on Mac OS #16

Open
renepickhardt opened this issue Sep 2, 2020 · 1 comment · May be fixed by #18
Open

Won't run on Mac OS #16

renepickhardt opened this issue Sep 2, 2020 · 1 comment · May be fixed by #18

Comments

@renepickhardt
Copy link

when running make I get:

....
./types.h:4:10: fatal error: 'openssl/sha.h' file not found
#include <openssl/sha.h>
         ^~~~~~~~~~~~~~~
1 error generated.
make: *** [iterate.o] Error 1

according to: https://www.anintegratedworld.com/mac-osx-fatal-error-opensslsha-h-file-not-found you can install openssl with brew install openssl (which I already had) but then you need to create the symlink like:

> cd /usr/local/include 
> ln -s ../opt/openssl/include/openssl .

not sure if the readme should updated for mac users

@elichai
Copy link

elichai commented Sep 2, 2020

I think the best solution is to remove openssl as a dependency and just directly implement sha256 here (200-300 lines of code), and there are a bunch of C public domain implementations out there

@elichai elichai linked a pull request Sep 2, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants