CentOS安装udev

安装libusb时,执行autogen.sh报错,提示未找到udev

configure: error: udev support requested but libudev header not installed

yum search udev没有找到正确的包

解决方法:
yum provides */libudev.h查找可用包,在systemd-devel中发现有libudev.h

yum install systemd-devel

https://github.com/pswarfound
原文地址:https://www.cnblogs.com/zl-yang/p/9113185.html