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

configure: fix runtime-lib detection on macOS #8028

Closed
wants to merge 1 commit into from

Conversation

@bwncp
Copy link
Contributor

@bwncp bwncp commented Nov 17, 2021

With a non-standard installation of openssl we get this error:

checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lnghttp2 -lssl -lcrypto -lssl -lcrypto -lz

There's already code to set LD_LIBRARY_PATH on Linux, so set DYLD_LIBRARY_PATH equivalent on macOS.

With a non-standard installation of openssl we get this error:

    checking run-time libs availability... failed
    configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lnghttp2 -lssl -lcrypto -lssl -lcrypto -lz

There's already code to set LD_LIBRARY_PATH on Linux, so set DYLD_LIBRARY_PATH
equivalent on macOS.
bagder
bagder approved these changes Nov 17, 2021
Copy link
Member

@bagder bagder left a comment

Nice approach! 👍

Loading

@bagder bagder added the build label Nov 17, 2021
@bagder
Copy link
Member

@bagder bagder commented Nov 18, 2021

Thanks!

Loading

@bagder bagder closed this in ba0657c Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants