Bug 1158842
Summary: | json-c pkgconfig files installed in the wrong place | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alejandro Alvarez <a.alvarezayllon> | |
Component: | json-c | Assignee: | Jakub Filak <jfilak> | |
Status: | CLOSED ERRATA | QA Contact: | Ondřej Pták <optak> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.6 | CC: | ebenes, jberan, jfilak, ksrot, michele, pvrabec, salmy | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | json-c-0.11-12.el6 | Doc Type: | Bug Fix | |
Doc Text: |
The pkg-config (.pc) files for JSON-C were incorrectly placed in the /lib64/pkgconfig/ directory in the 64-bit packages and in the /lib/pkgconfig/ directory in the 32-bit packages. Consequently, the pkg-config tool was unable to find these files and failed to provide the location of the installed JSON-C libraries, header files, and other information about JSON-C. With this update, the pkg-config files have been moved to the /usr/lib64/pkgconfig/ and /usr/lib/pkgconfig/ directory respectively. As a result, the pkg-config tool now successfully returns information about the installed JSON-C packages.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1199995 (view as bug list) | Environment: | ||
Last Closed: | 2015-07-22 07:29:47 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: | ||||
Bug Blocks: | 1152222 |
Description
Alejandro Alvarez
2014-10-30 11:16:03 UTC
Ping? Sorry for the wait. You're right that the location is wrong and needs to be fixed. It'll happen with the next update - can't say when that will be though. *** Bug 1193792 has been marked as a duplicate of this bug. *** According to FHS /lib is for libraries essential for the binaries in /bin/ and /sbin/, therefore *-devel packages must not install anything to /lib. Test case from bug #1193792: # yum install json-c-devel $ pkg-config --exists json-c && echo "Yes" || echo "No" json-c-devel-0.11-11.el6.x86_64 =============================== # rpm -ql json-c-devel | grep \.pc /lib64/pkgconfig/json-c.pc /lib64/pkgconfig/json.pc # pkg-config --libs json-c Package json-c was not found in the pkg-config search path. Perhaps you should add the directory containing `json-c.pc' to the PKG_CONFIG_PATH environment variable No package 'json-c' found json-c-devel-0.11-12.el6.x86_64 =============================== # rpm -ql json-c-devel | grep \.pc /usr/lib64/pkgconfig/json-c.pc /usr/lib64/pkgconfig/json.pc # pkg-config --libs json-c -L/lib64 -ljson-c 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/RHBA-2015-1397.html |