I am trying to build and install the i3status-rust for some test and I ended up getting this error.
= note: /usr/bin/ld: cannot find -lsensors: No such file or directory
collect2: error: ld returned 1 exit status
error: could not compile `i3status-rs` (bin "i3status-rs") due to previous error
Environment setup:
❯ sudo dnf install lm_sensors-libs
Last metadata expiration check: 2:38:38 ago on Tue 31 Oct 2023 06:38:03 PM +0545.
Package lm_sensors-libs-3.6.0-13.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
❯ sudo dnf install collectd-sensors.x86_64
Last metadata expiration check: 2:39:30 ago on Tue 31 Oct 2023 06:38:03 PM +0545.
Package collectd-sensors-5.12.0-27.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Rust Version:
rustc 1.73.0 (cc66ad468 2023-10-03)
Cargo Version:
cargo 1.73.0 (9c4383fb5 2023-08-26)
I am trying to build some changes locally but this approach seems to be broken.
I am trying to build and install the
i3status-rust
for some test and I ended up getting this error.Environment setup:
Rust Version:
Cargo Version:
I am trying to build some changes locally but this approach seems to be broken.