mustard22
mustard22
2015-05-02 15:24

redhat下C连接MySQL出错

  • c
  • redhat

_/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../libmysqlclient.so when searching for -lmysqlclient

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

/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [all] Error 1

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答