Bug 2056989

Summary: Incorrect library path in libmosquitto.pc and libmosquittopp.pc
Product: [Fedora] Fedora EPEL Reporter: Toralf <bugzilla>
Component: mosquittoAssignee: Rich Mattes <richmattes>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: linville, mail, richmattes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Toralf 2022-02-22 13:56:27 UTC
Description of problem:
pkg-config metadata from mosquitto-devel is not consistent with install locations on an x86_64 system. It adds /usr/lib (only) to the library search path, but the actual libraries are installed on /usr/lib64.


Version-Release number of selected component (if applicable):
1.6.15-1.el8

How reproducible:


Steps to Reproduce:
1. pkg-config --libs libmosquitto

Actual results:
-L/usr/lib -lmosquitto

Expected results:
-L/usr/lib64 -lmosquitto 
or just
-lmosquitto

Additional info:
"pkg-config --libs libmosquittocpp" has the same issue.