Can't pass this step cargo install diesel_cli --no-default-features --features postgres
cargo install diesel_cli --no-default-features --features postgres
error = note: ld: library not found for -lpq clang: error: linker command failed with exit code 1
= note: ld: library not found for -lpq clang: error: linker command failed with exit code 1
Tested on the MacOS Big Sur, Fedora 33 Rust Version 1.47.0
Installed on the Ubuntu 20 after sudo apt install libpq-dev
sudo apt install libpq-dev
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can't pass this step
cargo install diesel_cli --no-default-features --features postgres
error
= note: ld: library not found for -lpq
clang: error: linker command failed with exit code 1
Tested on the MacOS Big Sur, Fedora 33
Rust Version 1.47.0
Installed on the Ubuntu 20 after
sudo apt install libpq-dev