-
Notifications
You must be signed in to change notification settings - Fork 528
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
Portability: remove explicit check for libdl #1963
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forcing required presence of libdl fails on openbsd
If possible, please add the corresponding error message from OpenBSD build (abridged as needed) to the PR description.
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume Squid dlopen() needs are already satisfied by our unconditional LT_INIT([dlopen])
call.
What happened? If that removed code happens to be needed, please consider updating the existing comment to document that newly discovered or confirmed need. |
doh. Pushed the wrong button, sorry |
OpenBSD test build in github actions workflow |
I confirm that the OpenBSD build works with this change, and there is no regression on Linux. |
OpenBSD does not have libdl, as it has dlopen() in libc. It is not really needed, and force-requiring the presence of libdl causes ./configure to fail on openbsd: checking for dlopen in -ldl... no configure: error: Required library 'dl' not found
OpenBSD does not have libdl, as it has dlopen() in libc.
It is not really needed, and force-requiring the presence of libdl
causes ./configure to fail on openbsd: