Public bug reported:

Ubuntu 16.04 4.4.0
Libvirt-bin 1.3.1
For example, when configuring libvirt-glib 0.2.3 upstream sources with 
libvirt-bin installed:
...
checking pkg-config is at least version 0.9.0... yes
checking for LIBVIRT... no
configure: error: Package requirements (libvirt >= 1.1.1) were not met:

No package 'libvirt' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBVIRT_CFLAGS
and LIBVIRT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

There is no /usr/lib/libvirt.pc.
Since it is available upstream, it could very easily be shipped within the 
package.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575069

Title:
  [Enhancement] Provide pkg-config file for libvirt to avoid the need to
  set environment variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1575069/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to