speki
speki copied to clipboard
Can't install on Ubuntu 22.04
When running cargo install speki
, I get the following output:
error: linking with cc failed: exit status: 1
error: could not compile speki due to previous error
error: failed to compile speki v0.1.11, intermediate artifacts can be found at /tmp/cargo-installzjpElz
I wonder if you could also release a linux binary instead of suggesting to compile it if we don't have Arch....
Hello, I added a direct link to the linux binary now, could you check if that works for you? I'm planning to release it to all major package managers but have a lot to do atm
FWIW, I had a similar problem -- on Linux Mint 21, so Ubuntu 22.04 -- and was able to compile after installing libsqlite3-dev.
Anyone have any updates on this? I'm trying to install it on WSL2, Ubuntu 20.04.4 LTS, When using cargo install speki
(with the dependencies listed already installed) I'm getting a similiar error to the first post:
Compiling semver-parser v0.7.0
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
Compiling tinyvec_macros v0.1.0
error: could not compile `log` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `memchr` due to previous error
error: could not compile `syn` due to previous error
error: could not compile `quote` due to previous error
error: could not compile `libc` due to previous error
error: could not compile `proc-macro2` due to previous error
error: could not compile `libc` due to previous error
error: failed to compile `speki v0.4.4`, intermediate artifacts can be found at `/tmp/cargo-installsycNH9`
I'm not having success with the linux binary either, (although I may be executing it incorrectly). I'm unpacking and then running the binary as follows:
$ tar xvzf speki-linux.tar.gz
$ ./speki
This results in the following error:
Any idea of a fix?
@saeranv could you try:
sudo apt-get update
sudo apt install build-essential
?
it was suggested here: https://stackoverflow.com/questions/52445961/how-do-i-fix-the-rust-error-linker-cc-not-found-for-debian-on-windows-10
@TBS1996
Thanks for getting back to me! Your solution worked to solve my issue with install speki with cargo (I also had to install pkg-config
). Now cargo install speki
works perfectly. However... when I run speki
in my terminal after installation from cargo, I'm getting the same error I had previously with the speki loaded from the downloaded binary, i.e:
Any fixes for this error?