dsprenkels / sss-cli

Command line program for secret-sharing strings
MIT License
69 stars 20 forks source link

Install fails on Raspberry Pi OS #19

Open sunknudsen opened 3 years ago

sunknudsen commented 3 years ago

Installed Rust using curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh on Raspberry Pi OS and ran cargo install --git https://github.com/dsprenkels/sss-cli --branch v0.1.

Following error is thrown:

  = note: /usr/bin/ld: /tmp/cargo-installuViAgW/release/deps/libshamirsecretsharing_cli-ce60b7e353e5e699.rlib(shamirsecretsharing_cli-ce60b7e353e5e699.shamirsecretsharing_cli.8piw6w0j-cgu.0.rcgu.o): in function `shamirsecretsharing_cli::crypto_secretbox':
          shamirsecretsharing_cli.8piw6w0j-cgu.0:(.text._ZN23shamirsecretsharing_cli16crypto_secretbox17h5efbbce4803b019dE+0x114): undefined reference to `crypto_secretbox_xsalsa20poly1305_tweet'
          collect2: error: ld returned 1 exit status

New to Rust, so might be missing something obvious.

dsprenkels commented 3 years ago

Hey @sunknudsen, thanks for the bug report. I think this is actually a duplicate of #18. It should have been fixed now after pushing a fixed release to the 0.1 branch.