Bug 2056989 - Incorrect library path in libmosquitto.pc and libmosquittopp.pc
Summary: Incorrect library path in libmosquitto.pc and libmosquittopp.pc
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mosquitto
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-22 13:56 UTC by Toralf
Modified: 2022-02-22 13:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.