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 .