-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
got this error on first cargo build
error: failed to run custom build command for `libudev-sys v0.1.4`
Caused by:
process didn't exit successfully: `/home/lislis/git/lislis/crab/target/debug/build/libudev-sys-89ed30e3d6ab4731/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libudev\' found\n"', src/libcore/result.rs:1084:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
installing libudev solved it
$ sudo apt-get install libudev-devMetadata
Metadata
Assignees
Labels
No labels