mercredi 24 juillet 2019

Linux Mariadb libmariadb.so linking warning Visual Studio 2019 CMake

I'm building my cmake project for linux Centos7 (Google Cloud) in Visual Studio 2019. while linking libmariadb.so, i'm getting a linking error related to openssl.

yum instal openssl -> already installed and latest version.

I removed the openssl and installed it again.

Visual Studio Output1

......
......

Visual Studio Output2

########################### THIS ERROR:

/usr/bin/ld: warning: libssl.so.1.0.0, needed by /home/tgrl_monster_pc/.vs/KT_ProjectX/2787d0da-e3f8-a837-b346-8a6d92b1a2f2/src/mariadb/lib_linux/lib/mariadb/libmariadb.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by /home/tgrl_monster_pc/.vs/KT_ProjectX/2787d0da-e3f8-a837-b346-8a6d92b1a2f2/src/mariadb/lib_linux/lib/mariadb/libmariadb.so, not found (try using -rpath or -rpath-link)

Aucun commentaire:

Enregistrer un commentaire