Unable to find libudev.so

General support questions
Post Reply
MrByron
Posts: 2
Joined: 2021/10/04 16:30:45

Unable to find libudev.so

Post by MrByron » 2021/10/04 16:43:14

I'm trying to compile an application which requires libudev.so

It is my understanding that such files (endinging in just .so) are normally simple soft links to the numbered version such as libudev.so.1 and are provided by the *-devel package

ie

the package freeglut provides libglut.so.3
the package freeglut-devel provides libglut.so which is a softlink to libglut.so.3

However in the case of libudev.so I have not been able to find any package that provides it. libudev.so.1 is provided by systemd-libs, but there doesn't appear to be any systemd-libs-devel.

I went ahead and created the softlink myself and the install completed succesfully. However I'd be curious to know when there is and isn't an associated *-devel package and if I've done the correct thing creating that soft link myself.

Thanks

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to find libudev.so

Post by TrevorH » 2021/10/04 16:45:46

Run yum provides '*/libudev.so' then install the package name it lists.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

MrByron
Posts: 2
Joined: 2021/10/04 16:30:45

Re: Unable to find libudev.so

Post by MrByron » 2021/10/05 10:02:01

Thanks so much, i had been trying

yum provides libudev.so

Post Reply