-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When build openssl 3.6.0 on windows as shared library, the test package failes with Loading legacy provider failed with this error: error:12800067:DSO support routines::could not load the shared library
Package and Environment Details
- Package Name/Version: openssl/3.6.0
- Operating System+version: Windows
- Compiler+version: msvc 194
- Conan version: conan 2.21.0
- Python version: Python 3.13.7
Conan profile
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
[options]
*/*:shared=True
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
Steps to reproduce
conan install --require=openssl/3.6.0 --build=missing --build=openssl/3.6.0 -sbuild_type=Release -o*/*:shared=True
conan test recipes/openssl/3.x.x/test_package/conanfile.py openssl/3.6.0 -sbuild_type=Release -o*/*:shared=True
Logs
Click to expand log
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
[options]
*/*:shared=True
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=194
os=Windows
======== Launching test_package ========
======== Computing dependency graph ========
Graph root
openssl/3.6.0 (test package): D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\conanfile.py
Requirements
openssl/3.6.0#89e8af1d4a21afcac0557079d23d8890 - Cache
zlib/1.3.1#b8bc2603263cf7eccbd6e17e66b0ed76 - Cache
Build requirements
nasm/2.16.01#a95c9b1a2fc6b32c77f02ed06ad69044 - Cache
strawberryperl/5.32.1.1#1bdbbe0dd605263f366c4f32b24588fb - Cache
Resolved version ranges
zlib/[>=1.2.11 <2]: zlib/1.3.1
======== Computing necessary packages ========
Requirements
openssl/3.6.0#89e8af1d4a21afcac0557079d23d8890:f60426480b018f495764d3139b2d1802bb13a075#89a550a6199a170895531f8377ddf746 - Cache
zlib/1.3.1#b8bc2603263cf7eccbd6e17e66b0ed76:19e318a866610969ae17aaa36552350ac86725f0#0093a26d3ca96f07c312d7a840e66f75 - Cache
Build requirements
Skipped binaries
nasm/2.16.01, strawberryperl/5.32.1.1
======== Installing packages ========
zlib/1.3.1: Already installed! (1 of 2)
openssl/3.6.0: Already installed! (2 of 2)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated: 'cpp_info.names' used in: zlib/1.3.1
======== Testing the package ========
Removing previously existing 'test_package' build folder: D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release
openssl/3.6.0 (test package): Test package build: build\msvc-194-x86_64-14-release
openssl/3.6.0 (test package): Test package build folder: D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release
openssl/3.6.0 (test package): Writing generators to D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release\generators
openssl/3.6.0 (test package): Generator 'CMakeDeps' calling 'generate()'
openssl/3.6.0 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
find_package(OpenSSL)
target_link_libraries(... openssl::openssl)
openssl/3.6.0 (test package): Generator 'VirtualRunEnv' calling 'generate()'
openssl/3.6.0 (test package): Calling generate()
openssl/3.6.0 (test package): Generators folder: D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release\generators
openssl/3.6.0 (test package): CMakeToolchain generated: conan_toolchain.cmake
openssl/3.6.0 (test package): CMakeToolchain generated: D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release\generators\CMakePresets.json
openssl/3.6.0 (test package): CMakeToolchain generated: D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\CMakeUserPresets.json
openssl/3.6.0 (test package): Generating aggregated env files
openssl/3.6.0 (test package): Generated aggregated env files: ['conanrun.bat', 'conanbuild.bat']
======== Testing the package: Building ========
openssl/3.6.0 (test package): Calling build()
openssl/3.6.0 (test package): Running CMake.configure()
openssl/3.6.0 (test package): RUN: cmake -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="D:/a/cocorepo/cocorepo/recipes/openssl/3.x.x/test_package" -DOPENSSL_WITH_LEGACY="ON" -DOPENSSL_WITH_MD4="ON" -DOPENSSL_WITH_RIPEMD160="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "D:/a/cocorepo/cocorepo/recipes/openssl/3.x.x/test_package"
-- Using Conan toolchain: D:/a/cocorepo/cocorepo/recipes/openssl/3.x.x/test_package/build/msvc-194-x86_64-14-release/generators/conan_toolchain.cmake
-- Conan toolchain: CMAKE_GENERATOR_TOOLSET=v143
-- Conan toolchain: Setting CMAKE_MSVC_RUNTIME_LIBRARY=$<$<CONFIG:Release>:MultiThreadedDLL>
-- Conan toolchain: C++ Standard 14 with extensions OFF
-- The C compiler identification is MSVC 19.44.35217.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Including build module from 'C:/Users/runner***/.conan2/p/b/opens45fdbad230ab4/p/lib/cmake/conan-official-openssl-variables.cmake'
-- OPENSSL_FOUND: TRUE
-- OPENSSL_INCLUDE_DIR: C:/Users/runner***/.conan2/p/b/opens45fdbad230ab4/p/include
-- OPENSSL_CRYPTO_LIBRARY: libcrypto
-- OPENSSL_CRYPTO_LIBRARIES: libcrypto;ZLIB::ZLIB;crypt32;ws2_32;advapi32;user32;bcrypt
-- OPENSSL_SSL_LIBRARY: libssl
-- OPENSSL_SSL_LIBRARIES: libssl;OpenSSL::Crypto
-- OPENSSL_LIBRARIES: openssl::openssl
-- OPENSSL_VERSION: 3.6.0
-- Configuring done (11.9s)
-- Generating done (0.0s)
-- Build files have been written to: D:/a/cocorepo/cocorepo/recipes/openssl/3.x.x/test_package/build/msvc-194-x86_64-14-release
openssl/3.6.0 (test package): Running CMake.build()
openssl/3.6.0 (test package): RUN: cmake --build "D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release" --config Release
MSBuild version 17.14.23+b0019275e for .NET Framework
1>Checking Build System
Building Custom Rule D:/a/cocorepo/cocorepo/recipes/openssl/3.x.x/test_package/CMakeLists.txt
test_package.c
digest.c
digest_legacy.c
test_package.vcxproj -> D:\a\cocorepo\cocorepo\recipes\openssl\3.x.x\test_package\build\msvc-194-x86_64-14-release\Release\test_package.exe
Building Custom Rule D:/a/cocorepo/cocorepo/recipes/openssl/3.x.x/test_package/CMakeLists.txt
======== Testing the package: Executing test ========
openssl/3.6.0 (test package): Running test()
openssl/3.6.0 (test package): RUN: Release\test_package
Loading legacy provider failed with this error:
error:12800067:DSO support routines::could not load the shared library
OpenSSL version: OpenSSL 3.5.3 16 Sep 2025
sha256 digest: 489f719cadf919094ddb38e7654de153ac33c02febb5de91e5345cbe372cf4a0
sha512 digest: c001925fc772b2a1c2a6e6fcfcdb7b25beb5bea4447ce7705f0f523af5c09f41e4b27b602aa9c1efe85b693fb573bec3b180c042e92ba9315ceff8e9605f7daa
sha3 256 digest: 20ad54fdbb61006cd57a05c08223bca9be4bc6d2e40db8e7cedf9d14dd3d8019
sha3 512 digest: d786ef980d259335af265a4bfc27272e0bfe18bbc019f1fac6e0d90f8b2f6d7719f3b5e5c5ccf80d9c08a1444490ab0493f304f28a77fcb64af358cf5442db25
Error testing the digest_legacy() function
ERROR: openssl/3.6.0 (test package): Error in test() method, line 38
self.run(bin_path, env="conanrun")
ConanException: Error 1 while executing
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working