or Create a profile
13 Apr, 2017 03:54 AM
Building target: mpw...
core/mpw-util.c:33:20: fatal error: sodium.h: No such file or directory
How do I fix this?
on 13 Apr, 2017 04:09 AM
Is the problem resolved by modifying core/mpw-util.c and changing
on 13 Apr, 2017 04:55 AM
I did sudo gedit on the file and saved it, but the same build-error occurs.
on 13 Apr, 2017 10:11 PM
Was the sodium header file left out of the source package by accident?
on 13 Apr, 2017 10:13 PM
No, it is part of libsodium. Do you have libsodium installed?
on 14 Apr, 2017 06:36 AM
I don't have libsodium and just assumed that it was part of the "build". Found the problem?
I read that libssl-dev is a substitute for openssl-dev. ? Also, where do I get ncurses-dev?
on 14 Apr, 2017 12:49 PM
It all depends on your operating system / distribution. These are questions for them, I can't really help with it.
It's slightly peculiar, because ./build should have detected you don't have libsodium and downloaded & linked against Tarsnap's scrypt instead.
openssl is only required if you don't use libsodium ( see updated build instructions here: https://github.com/Lyndir/MasterPassword#native-cli ).
Can you run this in your shell and give me the output?
on 14 Apr, 2017 08:56 PM
~ $ gcc -lsodium
/usr/bin/ld: cannot find -lsodium
I don't see libsodium in the repository or Synaptic pkg manager.
on 14 Apr, 2017 09:02 PM
OK. You can either pull the latest changes from the repo and try again or install libsodium with your distribution's package manager. If you don't install libsodium, the build process should download scrypt for you after pulling the latest changes.
I still recommend you use libsodium, though.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Master Password staff to resolve this discussion.
This discussion is private.
Only you and Master Password support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.