Bug 1830473 - libprelude-config --libs lists unneeded libs
Summary: libprelude-config --libs lists unneeded libs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libprelude
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Thomas Andrejak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-02 04:33 UTC by Orion Poplawski
Modified: 2021-01-26 08:25 UTC (History)
4 users (show)

Fixed In Version: ibprelude-5.2.0-2
Clone Of:
Environment:
Last Closed: 2021-01-26 02:48:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2020-05-02 04:33:43 UTC
Description of problem:

$ libprelude-config --libs
-L/usr/lib64 -lprelude -lgnutls -lltdl -ldl -pthread

None of the other libraries other than -lprelude are required to for users of libprelude to link to and should be removed.  Otherwise users are forced to BR gnutls-devel as well.  The -L/usr/lib64 is unneeded as well.

Version-Release number of selected component (if applicable):
libprelude-5.1.1-4.fc32.x86_64

Comment 1 Orion Poplawski 2020-05-02 04:37:49 UTC
This is also a problem in EPEL8 where I first ran into it and it's affecting clamav builds.

Comment 2 Ben Cotton 2020-08-11 15:30:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 3 Orion Poplawski 2020-09-18 14:27:43 UTC
Still an issue.  I'm hoping to push a fix for this soon.

Comment 4 Thomas Andrejak 2020-09-18 14:35:09 UTC
Hello

Can you explain why gnutls ltdl dl and pthread are not needed ?

Regards

Thomas

Comment 5 Orion Poplawski 2020-09-18 14:50:16 UTC
Because with dynamic linking libprelude is already linked to them.  They are only needed for static linking.

Comment 6 Orion Poplawski 2020-09-19 02:01:52 UTC
I've filed https://src.fedoraproject.org/rpms/libprelude/pull-request/1 to fix this.

Is 5.2.0 going to be pushed to stable releases?

Comment 7 Thomas Andrejak 2020-09-19 07:19:07 UTC
Hello

Yes, 5.2 will go to stable.

I have to check if there is no side effet to remove this

Comment 8 Orion Poplawski 2021-01-26 02:42:03 UTC
Ping?

Comment 9 Orion Poplawski 2021-01-26 02:48:24 UTC
Looks like this was applied.  Thanks.

Comment 10 Thomas Andrejak 2021-01-26 08:25:58 UTC
Hello

Yes I forgot to tell you

Regards


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