Skip to content

dev-container openssl failures when running unit tests #787

Open
@rlenferink

Description

@rlenferink

With #785 and #786 applied I am able to successfully start a CLion dev container (using Jetbrains gateway) and connect via SSH to the started container (as celixdev user).

Within CLion I then can enable the automatically detected conan-debug CMake profile and build all packages succesfully.

However, when executing All CTest, most of the tests (almost all) fail with the following failure message:

12: Test command: /home/celixdev/workspace/build/libs/framework/gtest/test_frameworkd
12: Working Directory: /home/celixdev/workspace/build/libs/framework/gtest
12: Test timeout computed to be: 10000000
12: /home/celixdev/workspace/build/libs/framework/gtest/test_frameworkd: /lib/x86_64-linux-gnu/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /home/celixdev/.conan2/p/b/libcuffeace8e7a3bc/p/lib/libcurl.so.4)
Failed

Is this something anyone has seen before or I am missing a (Conan) configuration option somewhere?

It seems that the wrong libssl is being used, even though the Conan installed libssl is also available:

celixdev@fedora:~/workspace$ find / -name "libssl*" 2> /dev/null
<snip>
/home/celixdev/.conan2/p/b/opensb0006bbd0e9a5/p/lib/libssl.so.3
/home/celixdev/.conan2/p/b/opensb0006bbd0e9a5/p/lib/libssl.so
/home/celixdev/.conan2/p/b/libcuffeace8e7a3bc/b/build-debug/conan/libssl.pc
/home/celixdev/.cache/JetBrains/RemoteDev/dist/4dee2d4064288_CLion-2024.1.6/plugins/remote-dev-server/selfcontained/lib/libssl.so.10
/home/celixdev/.cache/JetBrains/RemoteDev/dist/4dee2d4064288_CLion-2024.1.6/plugins/remote-dev-server/selfcontained/lib/libssl3.so
/usr/lib/x86_64-linux-gnu/libssl.so.3
<snip>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions