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

sbcl is loading libcrypto in an unsafe way #181

Open
justjoheinz opened this issue Dec 13, 2020 · 5 comments
Open

sbcl is loading libcrypto in an unsafe way #181

justjoheinz opened this issue Dec 13, 2020 · 5 comments

Comments

@justjoheinz
Copy link

On Mac Os X (Big Sur) with sbcl 2.0.11 I get the message and subsequent error sbcl is loading libcrypto in an unsafe way when I try to install cl-async-ssl directly or via wookie (respective installations via ql:quickload.

Is there anything I can do to fix this error, or disable ssl support which I do not need right now. Is there anything I can do to provide more insight in the error or be of help in case a Mac OS machine is missing for development?

@justjoheinz
Copy link
Author

I currently helped my self by deleting the two occurrences of :wookie-no-ssl and their references to async or ssl dependencies.
Being very new to CL I would like to know how I can do this when invoking the build. I tried (ql:quickload "wookie" :wookie-no-ssl t) but that did not get picked up.

@PuercoPop
Copy link

PuercoPop commented Dec 14, 2020

Being very new to CL I would like to know how I can do this when invoking the build.

Checkout the clhs entry on *features*

If you want to load wookie w/o ssl support into your image you would have to do:

(push :wookie-no-ssl *features*)
(ql:quickload "wookie")

Hope that helps

@phoe
Copy link

phoe commented Dec 14, 2020

(:darwin "libssl.dylib")

libcrypto.dylib seemingly needs to get replaced with a concrete version of libcrypto, rather than depend on the unversioned dylib.

@justjoheinz
Copy link
Author

Thanks @phoe and @PuercoPop - that got me up and running for the time being.

@justjoheinz
Copy link
Author

In case it helps - this is the content of the openssl lib directory when installing openssl on mac os via brew (openssl 1.1.i)

engines-1.1
libcrypto.1.1.dylib
libcrypto.a
libcrypto.dylib
libssl.1.1.dylib
libssl.a
libssl.dylib
pkgconfig

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

No branches or pull requests

3 participants