Summary: | dev-db/mysql-connector-c-8.0.17-r3: undefined reference to `SSL_CTX_set_ciphersuites' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment |
Description
Miroslav Šulc
2019-09-16 09:43:12 UTC
Created attachment 589976 [details]
environment
CMake detected TLS 1.3 support so you should have SSL_CTX_set_ciphersuites. Please tell us more about your used ssl provider. i rebuilt openssl but the problem persists. here is my openssl: # equery list openssl * Searching for openssl ... [IP-] [ ] dev-libs/openssl-1.1.1d:0/1.1 # emerge -vp openssl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/openssl-1.1.1d:0/1.1::gentoo USE="asm zlib -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB # grep SSL_CTX_set_ciphersuites /usr/include/openssl/* -r /usr/include/openssl/ssl.h:__owur int SSL_CTX_set_ciphersuites(SSL_CTX *ctx, const char *str); /usr/lib/libssl.so contains following line: 923: 00025fe0 58 FUNC GLOBAL DEFAULT 12 SSL_CTX_set_ciphersuites@@OPENSSL_1_1_1 the same for /usr/lib64/libssl.so: 923: 0000000000032450 50 FUNC GLOBAL DEFAULT 12 SSL_CTX_set_ciphersuites@@OPENSSL_1_1_1 anything else that i could provide? I am unable to reproduce. But wait, are you doing some 'crazy' multilib things? Your last comment looks like you have openssl only for ABI_X86="32" installed. (In reply to Thomas Deutschmann from comment #4) > I am unable to reproduce. But wait, are you doing some 'crazy' multilib > things? Your last comment looks like you have openssl only for ABI_X86="32" > installed. You are misinterpreting the output. It says ABI_X86="32 64" is enabled. It is just that 64 is forced by profile. (In reply to Miroslav Šulc from comment #3) > i rebuilt openssl but the problem persists. > > here is my openssl: > > # equery list openssl > * Searching for openssl ... > [IP-] [ ] dev-libs/openssl-1.1.1d:0/1.1 > > # emerge -vp openssl > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] dev-libs/openssl-1.1.1d:0/1.1::gentoo USE="asm zlib > -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" > ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB > > > # grep SSL_CTX_set_ciphersuites /usr/include/openssl/* -r > /usr/include/openssl/ssl.h:__owur int SSL_CTX_set_ciphersuites(SSL_CTX *ctx, > const char *str); > > > /usr/lib/libssl.so contains following line: > 923: 00025fe0 58 FUNC GLOBAL DEFAULT 12 > SSL_CTX_set_ciphersuites@@OPENSSL_1_1_1 > > the same for /usr/lib64/libssl.so: > 923: 0000000000032450 50 FUNC GLOBAL DEFAULT 12 > SSL_CTX_set_ciphersuites@@OPENSSL_1_1_1 > > > anything else that i could provide? The CMake detection and linking happens on /usr/lib32/libssl.so not any of the providers listed there. Perhaps this is the real issue. Oh OK. Just tried with ABI_X86="32 64" for dev-libs/openssl and dev-db/mysql-connector-c but still unable to reproduce. (In reply to Brian Evans from comment #6) > The CMake detection and linking happens on /usr/lib32/libssl.so not any of > the providers listed there. Perhaps this is the real issue. thank you, i did not notice that, but that's exactly the cause. i removed /usr/lib32/libssl.so and now it compiles fine. i'll have to clean up /usr/lib32/ from libraries not claimed by any package... Was this an incomplete 17.1 migration? tbh, the migration was real mess in my case. idk how but lib32 dirs became symlinks to real lib dirs (and i did not notice that) so when i removed the lib32 dirs, i removed the live libs and my system was badly broken. i partially recovered it from backup and then rebuilt everything and cleaned up the system (at least i thought so), i even think i did not have /usr/lib32 dir there anymore but obviously the reality is different. will have to clean it again and verify things are not broken. |