/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient

在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  
 
 
posted @ 2012-07-03 10:59  Leo Forest  阅读(1636)  评论(0编辑  收藏  举报