Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685420 - net-misc/curl-7.64.0 should add -lssl -lcrypto to pkgconfig --libs
Summary: net-misc/curl-7.64.0 should add -lssl -lcrypto to pkgconfig --libs
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-09 01:07 UTC by Yanestra
Modified: 2019-05-09 01:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yanestra 2019-05-09 01:07:38 UTC
net-misc/curl-7.64.0 should add -lssl -lcrypto to pkgconfig --libs if option "ssl" is set.

Because it doesn't do so, linking of third party applications fail.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-05-09 01:25:16 UTC
'pkg-config --libs' obtains results from Libs setting in *.pc files.
'pkg-config --libs --static' obtains results from Libs and Libs.private settings in *.pc files.

libcurl.so shared library appears to be properly linked for me.
If your third-party applications try linking against static libraries, then they need to use 'pkg-config --libs --static libcurl' instead of 'pkg-config --libs libcurl'.

If you still have problem, then provide build logs and output of:
pkg-config --libs libcurl
pkg-config --libs --static libcurl
scanelf -qF "%F: %n" /usr/lib64/libcurl.so