I'm trying to install the latest pijul 0.10.1 with cargo. After installing the missing C dependencies I got stuck with linking pijul.
The OpenSSL cargo package threw a helpful error with explanation how to install the missing C dependency. After installing stable libsodium from source and verifying that the shared objects are in the /usr/local/lib I got past the thrussh-libsodium build error but I still get this at the final step when pijul is being linked.
$ OPENSSL_DIR=/usr/local/Cellar/openssl/1.0.2o_1 SODIUM_LIB_DIR=/usr/local/lib/ cargo install --force pijul
... lots of cargo output...
= note: ld: library not found for -llibsodium
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm running into the same issue. My feeling is that we should link against -lsodium, not -llibsodium. (other libraries are linked in correctly)
What platform is this? I'm trying to release Pijul 0.11 very soon.
Mac OSX with homebrew.