On Fri, Aug 31, 2018 at 8:30 PM Sayeed hyder <csayeedh@xxxxxxxxx> wrote:
I tried Mantas's suggestion and try to install "yum install libudev.so.1" which shows me "Package systemd-libs-219-57.el7_5.1.i686 already installed and latest version". Here is the list of systemd packages already installed in my rhel vm. When I use libudev.h in my program, it cannot compile ("no such file or directory").But if i do "yum install libudev-devel", it installs systemd-devel.x86_64 0:219-57.el7_5.1, and I can compile fine. So, the problem seems to be the difference between package systemd-devel.x86_64 0:219-57.el7_5.1 and package systemd-219-57.el7_5.1.x86_64. In the latter one, the libudev.h header file is not exposed for use. I cannot use the "devel" version. Any suggestion?
But that's precisely what the -devel version is for: it contains header files.
Mantas Mikulėnas
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel