pijul_org / thrussh

#16 Installing pijul

Opened by lykahb, on May 28, 2018
lykahb commented on May 28, 2018

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)
teh commented on August 12, 2018

I'm running into the same issue. My feeling is that we should link against -lsodium, not -llibsodium. (other libraries are linked in correctly)

pmeunier commented on September 27, 2018

What platform is this? I'm trying to release Pijul 0.11 very soon.

lykahb commented on September 27, 2018

Mac OSX with homebrew.