<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Aug 31, 2018 at 8:30 PM Sayeed hyder <<a href="mailto:csayeedh@gmail.com">csayeedh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">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").</div><div dir="ltr"><br></div><div>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?</div></div></div></div></div></div></blockquote><div><br></div><div>But that's precisely what the -devel version is for: it contains header files.</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>