linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.
来源:互联网 发布:招标文件制作软件 编辑:程序博客网 时间:2024/06/06 05:24
估计多半是64位的问题,在64位上装软件遇到的问题,很多时候都是因为库路径的问题,按dongboemil应该是可以解决的。要么PHP指定预配置参数MYSQL的库路径,要么就是把MYSQL的库复制或软链接到PHP默认寻找的目录。
把它改为
--with-mysql
或
--with-mysql=/usr
试试
因为你MYSQL是RPM装的,按系统路径来的
如果还是不行,再说
注意,每次重新预配置,先这样:
make clean
再重新预配置,进行编译
--with-mysql=/usr/include/mysql,这个参数应该不对,
把它改为
--with-mysql
或
--with-mysql=/usr
试试
因为你MYSQL是RPM装的,按系统路径来的
如果还是不行,再说
注意,每次重新预配置,先这样:
make clean
再重新预配置,进行编译
http://zhidao.baidu.com/link?url=ayEZS2PZAyJoTzWHma8E6-MsNrZF8GvfiTdgveAhRWr2HaPzQmyaRcDxKQPV2Sg55nh6U3yTjLf5teHawYMV0K
0 0
- linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.
- 编译PHP时:configure: error: Cannot find MySQL header files under /usr/mysql
- 编译PHP时提示:configure: error: Cannot find MySQL header files under /usr. 解决
- 编译php时出现“configure: error: Cannot find MySQL header files under”
- linux下面安装PHP时,提示:configure: error: Cannot find MySQL header files
- configure: error: Cannot find libmysqlclient under /usr/local/mysql.
- [服務架設][系統][LINUX]安裝 PHP 時出現error: Cannot find MySQL header files under yes的錯誤訊息
- 安裝 PHP时出现error: Cannot find MySQL header files under yes
- php5 ./configure error: Cannot find MySQL header files
- configure: error: Cannot find libmysqlclient under /usr
- PHP编译时报错error: mysql configure failed.以及/usr/bin/ld: cannot find -lmysqlclient
- PHP编译报错configure: error: Cannot find libmysqlclient under 解决方法
- configure: error: Cannot find libmysqlclient under /usr 解决
- 解决configure: error: Cannot find libmysqlclient under /usr.
- Cannot find libmysqlclient_r under usr/local/mysql
- ERROR: cannot find MySQL include files 安装 coreseek-3.2.14 遇到的问题及解决
- 编译安装php时提示Cannot find MySQL header files的解决方法
- 编译安装php时提示Cannot find MySQL header files的解决方法
- Jenkins+maven+svn+tomcat操作手册(一)
- 从头认识多线程-2.10 同步代码块的特殊现象:一半同步,一半异步
- HDOJ(HDU) 2113 Secret Number(遍历数字位数的每个数字)
- 加减乘除计算器
- java中Static&Final的使用方法,&&&Java中两个主要的抽象Abstract&&Implement
- linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.
- 福州大学第十三届程序设计竞赛_重现解题报告
- C++this指针&&友元
- JAVA——TCP传输
- HDU5572(计算几何+精度)
- oracle学习之路——关于常量的输出
- Helloworld -SilverN
- Hello world S.B.S.
- vb6.0 Access数据库