c++ - mysqlclient library linkage problem - Stack Overflow
1 down vote accepted-L/usr/lib64/mysqlThe ld.so.conf stuff is only used at runtime, not compile time.
-L/usr/lib64/mysql
The ld.so.conf stuff is only used at runtime, not compile time.