can't exec "mysql_config":no such file or directory at Makefile.PL line 76

  1. 云栖社区>
  2. 博客>
  3. 正文

can't exec "mysql_config":no such file or directory at Makefile.PL line 76

科技探索者 2017-11-20 17:42:00 浏览1338
展开阅读全文

can't exec "mysql_config":no such file or directory at Makefile.PL line 76

 

解决办法:

将/usr/local/mysql/include/mysql/*复制到/usr/include/,

# cp /usr/local/mysql/include/mysql/* /usr/include/

同时将/usr/local/mysql/lib/mysql/*复制到/usr/lib/(64位系统/usr/lib64/),

# cp /usr/local/mysql/lib/mysql/* /usr/lib/

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/840998如需转载请自行联系原作者


yangzhimingg

网友评论

登录后评论
0/500
评论
科技探索者
+ 关注