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

CLAM-2298 CMake: link openssl 3.x with clamsubmit on macOS #970

Merged

Commits on Jul 7, 2023

  1. CMake: link openssl 3.x with clamsubmit on macOS

    When switching to openssl 3.x, linking with clamsubmit fails with
    undefined openssl symbols. The error message from Xcode is crazy obtuse:
    
    ld: initializer '_OPENSSL_cpuid_setup' is >4GB from start of image in 'anon' from /Users/clamav_jenkins_svc/clamav-mussels-cookbook/test/install-x86_64/lib/libcrypto.a(libcrypto-lib-x86_64cpuid.o)
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    Anyhow... It seems that we must explicitly link clamsubmit with openssl
    now in order for this to work.
    micahsnyder committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    5f77446 View commit details
    Browse the repository at this point in the history