摘要:
找不到库。vi/etc/ld.so.conf加上/usr/local/lib64位的同时加上/usr/local/lib64然后ldconfig 阅读全文
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient
摘要:
详解看原文:http://xingxing5421.blog.163.com/blog/static/1194463192012317105319559/在64位系统中,/usr/lib/mysql/下的相关库文件无法标识,需要将/usr/lib64/mysql 下的库来做个软链接# ln -sf /usr/lib64/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient.so# ln -sf /usr/lib64/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient.a 阅读全文