<div dir="ltr">Thanks Silvio. Unfortunately, I cannot use devel. IIUC, rhel/centos does not provide a non-dev systemd package? That does not sound right.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 31, 2018 at 10:35 AM, Silvio Knizek <span dir="ltr"><<a href="mailto:killermoehre@gmx.net" target="_blank">killermoehre@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sayeed,<br>
<br>
it is expected that header files are in the -devel packages. You can't<br>
change this. The package "systemd" contains "udev", so in "systemd-<br>
devel" are the header files for "udev". "udev" is part of systemd.<br>
RHLE/CentOS don't split this.<br>
<br>
Why can't you just use "systemd-devel"? It just contains everything you<br>
need to be able to compile against systemd and udev (and maybe more).<br>
<br>
BR<br>
<span class="HOEnZb"><font color="#888888">Silvio<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
Am Freitag, den 31.08.2018, 10:29 -0700 schrieb Sayeed hyder:<br>
> I tried Mantas's suggestion and try to install "yum install<br>
> libudev.so.1" which shows me "Package systemd-libs-219-<br>
> 57.el7_5.1.i686 already installed and latest version". Here is the<br>
> list of systemd packages already installed in my rhel vm. When I use<br>
> libudev.h in my program, it cannot compile ("no such file or<br>
> directory").<br>
> <br>
> But if i do "yum install libudev-devel", it installs systemd-<br>
> devel.x86_64 0:219-57.el7_5.1, and I can compile fine. So, the<br>
> problem seems to be the difference between package systemd-<br>
> devel.x86_64 0:219-57.el7_5.1 and package systemd-219-<br>
> 57.el7_5.1.x86_64. In the latter one, the libudev.h header file is<br>
> not exposed for use. I cannot use the "devel" version.<br>
> Any suggestion?<br>
> <br>
> <br>
> thanks,<br>
> Sayeed<br>
> <br>
> <br>
> On Fri, Aug 31, 2018 at 10:05 AM, Ryan Gonzalez <<a href="mailto:rymg19@gmail.com">rymg19@gmail.com</a>><br>
> wrote:<br>
> <br>
> > Isn't it just "libudev", e.g. without the 1?<br>
> > <br>
> > <br>
> > On Fri, Aug 31, 2018, 11:19 AM Sayeed hyder <<a href="mailto:csayeedh@gmail.com">csayeedh@gmail.com</a>><br>
> > wrote:<br>
> > <br>
> > > Thanks Reindl. Let me be a bit more specific. I am looking for<br>
> > > the<br>
> > > non-dev package. For example, for ubuntu and sles, I can do the<br>
> > > followiing<br>
> > > <br>
> > > apt-get install libudev1 ---- works<br>
> > > zypper install libudev1 ---- works<br>
> > > <br>
> > > But, for rhel,<br>
> > > yum install libudev1 ---- cannot find package<br>
> > > yum install libudev-devel ---- works<br>
> > > <br>
> > > Is there any runtime (non-dev) package for rhel/centos distro? If<br>
> > > so,<br>
> > > what is the package name I should look for?<br>
> > > <br>
> > > <br>
> > > thanks,<br>
> > > Sayeed<br>
> > > <br>
> > > <br>
> > > On Fri, Aug 31, 2018 at 8:24 AM, Reindl Harald <<br>
> > > <a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>><br>
> > > wrote:<br>
> > > <br>
> > > > <br>
> > > > <br>
> > > > Am 31.08.18 um 16:51 schrieb Sayeed hyder:<br>
> > > > > Where can I get the link of available non-dev packages for<br>
> > > > > different<br>
> > > > > Linux distros? I am specifically looking for rhel version of<br>
> > > > > libudev<br>
> > > > > package.<br>
> > > > <br>
> > > > from the package repo of teh distribution?<br>
> > > > just download the CentOS one which is identical to RHEL<br>
> > > > ______________________________<wbr>_________________<br>
> > > > systemd-devel mailing list<br>
> > > > <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
> > > > <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
> > > > <br>
> > > <br>
> > > ______________________________<wbr>_________________<br>
> > > systemd-devel mailing list<br>
> > > <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
> > > <br>
> > <br>
> > --<br>
> > <br>
> > Ryan (ライアン)<br>
> > Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone<br>
> > else<br>
> > <a href="https://refi64.com/" rel="noreferrer" target="_blank">https://refi64.com/</a><br>
> > <br>
> <br>
> ______________________________<wbr>_________________<br>
> systemd-devel mailing list<br>
> <a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/systemd-devel</a><br>
</div></div></blockquote></div><br></div>