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