[systemd-devel] non-dev systemd-devel package for Linux

Mantas Mikulėnas grawity at gmail.com
Fri Aug 31 17:31:57 UTC 2018


On Fri, Aug 31, 2018 at 8:30 PM Sayeed hyder <csayeedh at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180831/29637c65/attachment.html>


More information about the systemd-devel mailing list