Bug#801657: libdevmapper-dev: devmapper.pc has a private requirement on librt

Nick Black nick.black at sprezzatech.com
Tue Oct 13 04:20:36 UTC 2015

Package: libdevmapper-dev
Version: 2:1.02.104-1
Severity: important

Dear Maintainer,

Use of pkg-config with libdevmapper isn't working due to a
Requires.private dependence on librt. There's no librt.pc file, so this

[skynet](0) $ pkg-config --print-requires-private devmapper
Package librt was not found in the pkg-config search path.
Perhaps you should add the directory containing `librt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'librt', required by 'devmapper', not found
[skynet](1) $

I think what you want here is a Libs.private line with -lrt, and to
remove librt from the Requires.private. librt is not a "package" in the
pkg-config world, and can't be used this way.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libdevmapper-dev depends on:
ii  libdevmapper-event1.02.1  2:1.02.104-1
ii  libdevmapper1.02.1        2:1.02.104-1
ii  libselinux1-dev           2.3-2+b1

libdevmapper-dev recommends no packages.

libdevmapper-dev suggests no packages.

-- no debconf information

More information about the pkg-lvm-maintainers mailing list