Bug #121004 Error build mariadb c connector 3.4.9 with openssl 3.5.7.9
Submitted: 24 Jul 4:03
Reporter: Jacky Bek Email Updates:
Status: Open Impact on me:
None 
Category:Connector / C Severity:S2 (Serious)
Version:3.4.9 OS:Debian (bookworm)
Assigned to: CPU Architecture:x86

[24 Jul 4:03] Jacky Bek
Description:
[27%] Linking C shared module caching_sha2_password.so
/usr/bin/ld: CMakeFiles/caching_sha2_password.dir/plugins/auth/caching_sha2_pw.c.o: in function `auth_caching_sha2_client':
/usr/local/src/mariadb-connector-c-3.4.9-src/plugins/auth/caching_sha2_pw.c:340: undefined reference to `EVP_PKEY_size'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/caching_sha2_password.dir/build.make:115: caching_sha2_password.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:354: CMakeFiles/caching_sha2_password.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2

How to repeat:
install openssl 3.5.7.9 (required for gRPC)

cd /usr/local/src
sudo git clone https://github.com/mariadb-connector-c-3.4.9-src
cd /usr/local/src/mariadb-c-connector-c-3.4.9-sec
mkdir build && cd build
sudo cmake .. \
	-DCMAKE_BUILD_TYPE=RelWithDebInfo
	-DWITH_SSL=OPENSSL \
	-DWITH_ZLIB
sudo cmake --build .
[24 Jul 6:53] Daniƫl van Eeden
I think this should be reported to https://jira.mariadb.org instead