ERROR: cannot find MySQL include files 安装 coreseek-3.2.14 遇到的问题及解决
2012-11-13 11:28
721 查看
1.安装 coreseek-3.2.14 遇到问题:“ERROR: cannot find MySQL include files,随即在网上搜索各种答案说是要找到mysql.h的正确路径加入./configure才行,可惜找之不到,后来在官网(http://dev.mysql.com/doc/refman/5.5/en/c.html)上找到这样一段话:
NoteIf, after an upgrade, you experience problems with compiled client programs, such as Commands out of sync or unexpected core dumps, you probably have used old header or library files when compiling your programs. In this case, check the date for your mysql.h file and libmysqlclient.a library to verify that they are from the new MySQL distribution. If not, recompile your programs with the new headers and libraries. Recompilation might also be necessary for programs compiled against the shared client library if the library major version number has changed (for example from libmysqlclient.so.15 to libmysqlclient.so.16.
建议用户使用新的 headers 和 library 重新编译 mysql ,说实话我们现在安装 mysql 已经很少使用手动编译的方式了,于是在下面有一个用户评论(User Comments)很有用:
Connect to the Internet and do this on Debian Linux to get mysql_config and libraries for C code to compile:
See http://packages.debian.org for place to search for missing libraries
使用之后,再编译coreseek-3.2.14,安装成功。
NoteIf, after an upgrade, you experience problems with compiled client programs, such as Commands out of sync or unexpected core dumps, you probably have used old header or library files when compiling your programs. In this case, check the date for your mysql.h file and libmysqlclient.a library to verify that they are from the new MySQL distribution. If not, recompile your programs with the new headers and libraries. Recompilation might also be necessary for programs compiled against the shared client library if the library major version number has changed (for example from libmysqlclient.so.15 to libmysqlclient.so.16.
建议用户使用新的 headers 和 library 重新编译 mysql ,说实话我们现在安装 mysql 已经很少使用手动编译的方式了,于是在下面有一个用户评论(User Comments)很有用:
Connect to the Internet and do this on Debian Linux to get mysql_config and libraries for C code to compile:
apt-get install libmysqlclient15-dev
See http://packages.debian.org for place to search for missing libraries
使用之后,再编译coreseek-3.2.14,安装成功。
相关文章推荐
- 安装PDO_MYSQL遇到的问题:error: Cannot find MySQL header files under
- linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.
- linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.
- 解决Cannot find MySQL header files under /usr/include/mysql的错误
- 64位centos上nginx,php编译安装遇configure: error: Cannot find libmysqlclient under /usr 错误解决
- PHP安装笔记:解决 error: Cannot find ldap.h 问题
- 安装centos 5下编译安装PHP时报错configure: error: Cannot find MySQL header files under
- 编译PHP时提示:configure: error: Cannot find MySQL header files under /usr. 解决
- 编译安装php时提示Cannot find MySQL header files的解决方法
- 编译安装php时提示Cannot find MySQL header files的解决方法
- 编译安装php Cannot find MySQL header files under /usr/include/mysql.
- php 安装 configure: error: Cannot find libmysqlclient under /usr. 解决
- 编译安装php时提示Cannot find MySQL header files的解决方法
- 在Linux下安装nodejs遇到Cannot find module 'npmlog'问题的解决方法
- Cannot create windows service for mysql.error:0 (解决安装MYSQL5出现问题)
- linux下面安装PHP时,提示:configure: error: Cannot find MySQL header files
- 安装widows mysql 免安装版(zip) 步骤详解 以及遇到问题解决 以及忘记密码的修改方法
- 遇到错误-----安装DBD:MySql模块遇到的问题及解决办法Can't exec "mysql_config": 没有那个文件或目录 at Makefile.PL line 479.
- 在windows下安装apache+mysql+php时遇到的问题与解决方法