Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake build in Linux links libcurl to libdl #6165

Closed
reddwarf69 opened this issue Nov 3, 2020 · 2 comments
Closed

CMake build in Linux links libcurl to libdl #6165

reddwarf69 opened this issue Nov 3, 2020 · 2 comments

Comments

@reddwarf69
Copy link
Contributor

The only use of dlopen seems to be in packages/vms/report_openssl_version.c. But in my Linux builds -ldl ends up in the CURL_LIBS variable, so:

  • libcurl.so links to it
  • it's included in the .pc file
  • it's in CURL::libcurl's INTERFACE_LINK_LIBRARIES
@bagder bagder added the cmake label Nov 3, 2020
@bagder
Copy link
Member

bagder commented Nov 3, 2020

some OpenSSL versions back in the day needed libdl, that's probably why

@reddwarf69
Copy link
Contributor Author

reddwarf69 commented Nov 4, 2020

FWIW I am personally using https://github.com/RedDwarf69/curl/tree/cmake. I'm not creating PRs because I have not tried to make it ready for that (e.g I'm increasing the minimum required cmake version... and I have no idea how much you want to keep cmake 3.2 support).
I'm solving this with reddwarf69@cb4a72c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants