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.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.