`
275553385
  • 浏览: 706461 次
  • 性别: Icon_minigender_1
  • 来自: 无锡
文章分类
社区版块
存档分类
最新评论

configure: error: Cannot find MySQL header files

阅读更多
编译PHP时提示:configure: error: Cannot find MySQL header files 。
找不到mysql的头文件。机器上的mysql的安装centos的时候自带的。

需要yum安装mysql-devel。
yum install mysql-devel
.
然后在php编译的configure中添加
--with-mysql=/usr


要找到对应的mysql.h的文件。rpm包安装的话,在/usr/include/mysql文件夹下面。
分享到:
评论

相关推荐

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    checking for MagickWand.h header file… configure: error: Cannot locate header file MagickWand.h 可是我明明正确安装了ImageMagick的呀.GOOGLE了半天,也解决不了这个问题.后面对照另一个服务器上的ImageMagick...

    gcc_4.9.4_gcc+gmp+mpfr+mpc.tar.gz

    编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...

    libmount-2.25.2-实测版本

    经过实测的版本 configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0

    gcc-4.9.4安装包

    在编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 要支持C++11,必须升级到gcc4.7以上。

    centos7下升级openssh到8.4脚本

    centos7下升级openssh到8.4脚本

    device-mapper.1.02.28.tgz

    在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家

    安装lamp报错信息及解决方法

    /use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure ...configure: error: mysql configure failed. Please check config.log for more information

    PHP编译configure时常见错误的总结

    因此要自己亲自不断的调试,才能完全安装成功。 本文总结了一些常见的configure错误信息和解决这些错误的经验。...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c

    gmp 5.0.4 安装GCC必需文件

    安装GCC必需的三个文件(gmp、mpfr、mpc)之一,gmp,安装此库之前需要先安装M4,否则无法完成安装。另:上述文件我已上传至我的资源,如有需要下载即可。 GMP is a free library for arbitrary precision ...

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    ./configure --prefix=/usr/local/php --with-mysql --with-apxs2=/usr/local/apache/bin/apxs --with-openssl --with-curl --enable-xml --with-mcrypt --with-ttf --enable-magic-quotes --enable-fastcgi --...

    Ubuntu 18 搭建openjdk源码 报错误 configure: error: Could not find required tool for ZIPEXE

    前几天看完了深入理解 Java 虚拟机-JVM 高级特性与最佳实践(第2版) 这本书突发奇想想研究一下jdk的源码,所以在csdn上把自己的搭建过程记录一下,避免下次踩坑(虽然我也看不懂 卑微 有需要的小伙伴可以加我QQ:...

    PHP编译安装中遇到的两个错误和解决方法

    configure: error: Cannot find ldap libraries in /usr/lib 提示在/usr/lib 下找不到相关模块,这是因为64位的linux默认把以上文件都存在 /usr/lib64 文件夹下。 解决方法: 复制代码 代码如下: cp -frp /usr/lib64...

    lz4最新版,编译spice-gtk-0.35时使用

    解决configure: error: lz4 support requested but liblz4 >= 129 could not be found, export PREFIX=安装目录 &make; &make; install

    mysql安装缺失库解决办法

    附件是解决mysql安装vcruntime140.dll缺失问题解决需要安装的库

    php源代码安装常见错误与解决办法分享

    错误:configure: error: Please reinstall the mysql distributio 解决:yum -y install mysql-devel 错误:make: *** [sapi/fpm/php-fpm] error 1 解决:用make ZEND_EXTRA_LIBS=’-liconv’编译 错误:...

    nginx-1.0.5最新稳定版

    状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: error: the ...

    keeplived离线安装openssl-devel依赖包

    由于公司业务并发比较高需要高可用使用LVS keeplived。在linux系统centos6.5版本...configure: error: !!! OpenSSL is not properly installed on your system. !!! !!! Can not include OpenSSL headers files. !!!

    升级openssh及openssl.pdf

    centos7 下编译安装升级openssl及openssh,亲测笔记。如环境有区别请自行修改部分自定义设置。升级软件版本 :openssl-1.1.1g openssh-8.3p1

Global site tag (gtag.js) - Google Analytics