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

macOS support? #43

Closed
NetOpWibby opened this issue Nov 5, 2020 · 4 comments
Closed

macOS support? #43

NetOpWibby opened this issue Nov 5, 2020 · 4 comments

Comments

@NetOpWibby
Copy link

When running make I get main.c:12:10: fatal error: 'sodium/core.h' file not found. My C experience is nil but it looks like I'm missing the sodium package on my system.

@SuperSandro2000
Copy link
Contributor

SuperSandro2000 commented Nov 6, 2020

Install the sodium package.

@NetOpWibby
Copy link
Author

brew install libsodium was what I needed. Thanks!

@sunknudsen
Copy link

On M1 Mac:

Step 1: install Homebrew

Step 2: install autoconf and libsodium

brew install autoconf libsodium

Step 3: clone and compile mkp224o

git clone https://github.com/cathugger/mkp224o.git
cd mkp224o
./autogen.sh
CPPFLAGS="-I/opt/homebrew/Cellar/libsodium/1.0.18_1/include" LDFLAGS="-L/opt/homebrew/Cellar/libsodium/1.0.18_1/lib" ./configure
make

@txt-file
Copy link

txt-file commented Mar 23, 2024

For https://macports.org the proper commands are

install libsodium: sudo port install libsodium

clone & compile mkp224o

git clone https://github.com/cathugger/mkp224o.git
cd mkp224o
./autogen.sh
CPPFLAGS="-I/opt/local/include/" LDFLAGS="-L/opt/local/lib/" ./configure
make

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

4 participants