Bug 1134454
Summary: | pkg-config --libs contains cflags | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | agedosier, berrange, clalancette, dyuan, extras-qa, itamar, jdenemar, jforbes, laine, libvirt-maint, rbalakri, veillard, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.7-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1134453 | Environment: | |
Last Closed: | 2015-03-05 07:43:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1134453, 1134455 | ||
Bug Blocks: | 910269 |
Description
Richard W.M. Jones
2014-08-27 14:21:10 UTC
Install libvirt-1.2.8-13.el7.src.rpm. # grep lvirt /root/rpmbuild/BUILD/libvirt-1.2.8/build/libvirt.pc Libs: -L${libdir} -lvirt # pkg-config --libs libvirt -L/root/builder/lib -lvirt Removed the @LIBS@ in the Libs and only -lvirt is here, move the bug to VERIFIED. (In reply to dyuan from comment #3) > # pkg-config --libs libvirt > -L/root/builder/lib -lvirt That's not good! The output should be: $ pkg-config --libs libvirt -lvirt Having said that, I am unable to reproduce the output you have given above. For me, the output is correct with the 1.2.8-13.el7 package. Yes, you're right. Thanks for your comment. I think there should be copy/paste error in comment3. Re-check again and got the same output as yours. # pkg-config --libs libvirt -lvirt Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0323.html |