There is a pkgconfig file shipped with udev itself, which just contains
the definition of udev_dir. This is unrelated to the udev development
package (libudev-dev). For development purposes, you should be using
libudev, e.g. `pkg-config --libs libudev`.
The rest sounds related to your build system
I had noticed `pkg-config --list-all` is listing two udev packages,
`udev` and `libudev`. `pkg-config --libs udev` prints nothing but `pkg-
config --libs libudev` prints `-ludev`.
I had also noticed that the link command did not featured `-ludev`. I
also had tried to set compile/link flags to `-lu
For the record, showing only the errors, without showing the linker
command that produced them, is not an actionable bug report.
These symbols are certainly present in libudev.so.1 in kinetic so this
is likely not a bug in the Ubuntu systemd package.
--
You received this bug notification because
Are you missing a linker flag, i.e. -ludev, or did you forget to include
libudev.h?
If it's not either of those, please provide some more information such
as your current Ubuntu release, and what version of libudev-dev is
installed on your system:
$ apt-cache policy libudev-dev
** Changed in: sy
4 matches
Mail list logo