liboqs-rust icon indicating copy to clipboard operation
liboqs-rust copied to clipboard

MacOS build fails (as linking against OpenSSL1 instead of 3)

Open marcbrevoort-cyberhive opened this issue 1 year ago • 2 comments

Trying to get CI on my pull request to go green, the MacOS build fails with

ld: library 'crypto' not found

I don't think there is a particular OS-specific impact of the new code and no new library code is being invoked - it looks like the cause of the error may be a library upgrade.

marcbrevoort-cyberhive avatar Jul 10 '24 14:07 marcbrevoort-cyberhive

Have updated the .github/ci.yml file disabling the stack environment variable (as it is now no longer needed) and disabled the macos build which allowed it to run to completion. I'm not sure why the the macos build can't find library 'crypto' - perhaps this is something requiring manual installation on my github account? At any rate, this has now built successfully for ubuntu and windows.

marcbrevoort-cyberhive avatar Jul 11 '24 15:07 marcbrevoort-cyberhive

Update: It would seem that the macos build is trying to link against OpenSSL 1.1.1 libcrypto but the version of OpenSSL installed on github is version 3 (which makes sense, as OpenSSL 1.1.1 is no longer supported).

marcbrevoort-cyberhive avatar Jul 11 '24 16:07 marcbrevoort-cyberhive