0°

error: mysql/psi/psi.h: No such file or directory

/usr/local/webserver/mysql/include/mysql/my_sys.h:1027:27: error: mysql/psi/psi.h: No such file or directory
In file included from /usr/local/src/php-5.6.3/ext/mysqli/php_mysqli_structs.h:83,
from /usr/local/src/php-5.6.3/ext/mysqli/mysqli.c:34:
/usr/local/webserver/mysql/include/mysql/m_string.h:285:26: error: mysql/plugin.h: No such file or directory
make: *** [ext/mysqli/mysqli.lo] Error 1

/usr/local/webserver/mysql/include/mysql/my_sys.h:1027:27: error: mysql/psi/psi.h: No such file or directory
目录中调整为mysql/psi/psi.h就可以了.

/usr/local/webserver/mysql/include/mysql/m_string.h:285:26: error: mysql/plugin.h: No such file or directory
参照以下方法

# echo "/usr/local/webserver/mysql/lib/mysql" >> /etc/ld.so.conf
# ldconfig
# ln -s /usr/local/webserver/mysql/lib/mysql /usr/lib/mysql
# ln -s /usr/local/webserver/mysql/include/mysql /usr/include/mysql
「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
0 条回复 A 作者 M 管理员
    所有的伟大,都源于一个勇敢的开始!
欢迎您,新朋友,感谢参与互动!欢迎您 {{author}},您在本站有{{commentsCount}}条评论