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 <rym...@gmail.com> wrote: > Isn't it just "libudev", e.g. without the 1? > > > On Fri, Aug 31, 2018, 11:19 AM Sayeed hyder <csaye...@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.rei...@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@lists.freedesktop.org >>> https://lists.freedesktop.org/mailman/listinfo/systemd-devel >>> >> >> _______________________________________________ >> systemd-devel mailing list >> systemd-devel@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@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel