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

libzip links with external libs found on host #6

Open
3 tasks done
prudhomm opened this issue Oct 26, 2024 · 0 comments · Fixed by #7 · May be fixed by spack/spack#47230
Open
3 tasks done

libzip links with external libs found on host #6

prudhomm opened this issue Oct 26, 2024 · 0 comments · Fixed by #7 · May be fixed by spack/spack#47230
Assignees
Labels
bug Something isn't working

Comments

@prudhomm
Copy link
Member

Steps to reproduce

$ spack install libzip

Error message

we might get linking issues if we have an environment having openssl and libzip and ssl is installed with another version on the host such as #12

Information on your system

libzip enable by default a few libs https://github.com/nih-at/libzip/blob/main/CMakeLists.txt by default

option(ENABLE_COMMONCRYPTO "Enable use of CommonCrypto" ON)
option(ENABLE_GNUTLS "Enable use of GnuTLS" ON)
option(ENABLE_MBEDTLS "Enable use of mbed TLS" ON)
option(ENABLE_OPENSSL "Enable use of OpenSSL" ON)
option(ENABLE_WINDOWS_CRYPTO "Enable use of Windows cryptography libraries" ON)

option(ENABLE_BZIP2 "Enable use of BZip2" ON)
option(ENABLE_LZMA "Enable use of LZMA" ON)
option(ENABLE_ZSTD "Enable use of Zstandard" ON)

I suggest to be enable to enable/disable them and have then enabled by default using variants

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant