nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.24k stars 42 forks source link

Shared object "libcurl.so.4" not found #284

Closed pfr-dev closed 2 weeks ago

pfr-dev commented 2 weeks ago

NetBSD 10.0_STABLE rust-1.79.0 cargo 1.79.0

~ λ cargo install-update -a 
/home/dave/.cargo/bin/cargo-install-update: Shared object "libcurl.so.4" not found
nabijaczleweli commented 2 weeks ago

Rebuild against your current libcurl (cargo install -f cargo-update) or install libcurl if you removed it (but isn't libcurl in base? so unlikely).

pfr-dev commented 2 weeks ago

Hmmm no libcurl it seems... curl is installed /usr/pkg/bin/curl. There is a libcurl-gnutls in the repositories but installing this doesn't seem to help.

I also tried cargo install -f cargo-update but same result :(

nabijaczleweli commented 2 weeks ago

Oh this a new installation and it still don't work? so it's linking to ... some libcurl. and then not finding it.

How's about cargo install -f --features vendored-libcurl cargo-update?

pfr-dev commented 2 weeks ago

Thank you, this worked 👍