How to change mariadb-connector-c to find plugin library path in another path?
I was packaging mariadb-connector-c for centos7. My OS is 64 bit so I had to change the library path to be installed from /usr/lib / to /usr/lib64. (I couldn't install the package unless I changed it.) But when I try to connect the db, mariadb-connector-c finds .so in /usr/lib/., So they couldn't find 'caching_sha2_password.so'. What should I do?
Answer Answered by melody park in this comment.
I solved this problem. Use -DINSTALL_PLUGIN option. Thanks.