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

Silvio Knizek killermoehre at gmx.net
Fri Aug 31 17:35:32 UTC 2018


Hi Sayeed,

it is expected that header files are in the -devel packages. You can't
change this. The package "systemd" contains "udev", so in "systemd-
devel" are the header files for "udev". "udev" is part of systemd.
RHLE/CentOS don't split this.

Why can't you just use "systemd-devel"? It just contains everything you
need to be able to compile against systemd and udev (and maybe more).

BR
Silvio

Am Freitag, den 31.08.2018, 10:29 -0700 schrieb Sayeed hyder:
> 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?
> 
> 
> thanks,
> Sayeed
> 
> 
> On Fri, Aug 31, 2018 at 10:05 AM, Ryan Gonzalez <rymg19 at gmail.com>
> wrote:
> 
> > Isn't it just "libudev", e.g. without the 1?
> > 
> > 
> > On Fri, Aug 31, 2018, 11:19 AM Sayeed hyder <csayeedh at gmail.com>
> > wrote:
> > 
> > > Thanks Reindl. Let me be a bit more specific. I am looking for
> > > the
> > > non-dev package. For example, for ubuntu and sles, I can do the
> > > followiing
> > > 
> > > apt-get install libudev1        ---- works
> > > zypper install libudev1        ---- works
> > > 
> > > But, for rhel,
> > > yum install libudev1           ---- cannot find package
> > > yum install libudev-devel    ---- works
> > > 
> > > Is there any runtime (non-dev) package for rhel/centos distro? If
> > > so,
> > > what is the package name I should look for?
> > > 
> > > 
> > > thanks,
> > > Sayeed
> > > 
> > > 
> > > On Fri, Aug 31, 2018 at 8:24 AM, Reindl Harald <
> > > h.reindl at thelounge.net>
> > > wrote:
> > > 
> > > > 
> > > > 
> > > > Am 31.08.18 um 16:51 schrieb Sayeed hyder:
> > > > > Where can I get the link of available non-dev packages for
> > > > > different
> > > > > Linux distros? I am specifically looking for rhel version  of
> > > > > libudev
> > > > > package.
> > > > 
> > > > from the package repo of teh distribution?
> > > > just download the CentOS one which is identical to RHEL
> > > > _______________________________________________
> > > > systemd-devel mailing list
> > > > systemd-devel at lists.freedesktop.org
> > > > https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> > > > 
> > > 
> > > _______________________________________________
> > > systemd-devel mailing list
> > > systemd-devel at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> > > 
> > 
> > --
> > 
> > Ryan (ライアン)
> > Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone
> > else
> > https://refi64.com/
> > 
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel




More information about the systemd-devel mailing list