`

configure: error: wrong mysql library version or lib not found. Check config.log

    博客分类:
  • PHP
 
阅读更多

用源码编译安装php,出现了以下的错误:configure: error: wrong mysql library version or lib not found. Check config.log for more information

 

解决办法:(安装mysql相应的share包,具体根据mysql版本来,我的版本是5.6.20的)

rpm -ivh MySQL-shared-5.6.20-1.el6.x86_64.rpm

 

安装完这个包后,在继续编译php,即可通过。

分享到:
评论

相关推荐

    CentOS下编译php时的一些典型错误及解决办法.

    11. configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore! 解决方法: yum install mysql-devel 此错误是由于缺少 mysql-devel 库文件所...

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

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

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

    2. **错误:configure: error: xml2-config not found. Please check your libxml2 installation.** 解决方案:对于CentOS,执行`yum -y install libxml2 libxml2-devel`;Debian用户则运行`apt-get install libxml...

    apache2.4完整安装

    ### Apache2.4完整安装及解决configure: error: APR-util not found问题 #### 一、背景介绍 Apache HTTP Server(通常简称为Apache)是目前最流行的Web服务器软件之一,广泛应用于互联网上的各种网站和应用程序。...

    解决usrlib64libstdc++.so.6和lib64libc.so.6版本过低问题

    ./bin/mysqld: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./bin/mysqld) ./bin/mysqld: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./bin/mysqld) ``` 这...

    sqlite3 not found的解决办法

    在使用Linux或Unix类操作系统时,可能会遇到"sqlite3 not found"这样的错误提示,这通常意味着系统中没有安装SQLite3这个数据库引擎或者其路径没有被正确地添加到系统的PATH环境变量中。SQLite3是一个轻量级、开源的...

    ubuntu-version `GLIBC-2.25` not found.pdf

    根据提供的文件信息,文档标题“ubuntu-version `GLIBC-2.25` not found.pdf”以及描述“ubuntu_version `GLIBC_2.25` not found”,明确指出在Ubuntu系统上遇到了GLIBC 2.25版本未找到的问题。GLIBC(GNU C Library...

    Linphone编译错误及解决方法

    4. failed to with "configure: error: "Could not find libreadline headers or library" 错误原因:缺少libreadline头文件或库文件。 解决方法:apt-get install libreadline5-dev 5. fail with "checking for ...

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

    在PHP的mysqli扩展中,如果遇到“configure: error: wrong mysql library version or lib not found”错误,可能还需要在mysqli扩展目录下进行以下操作: 1. **切换到mysqli扩展目录**:`cd /usr/local/src/...

    qt 安装缺少包 version“Glibc_2.9” not fount

    (1)以glibc-2.9.tar.gz为例; tar –zxvf glibc-2.4.tar.gz;...configure: error: you must configure in a separate build directory 因此退出glibc-2.9文件夹。 #Cd ../ # glibc-2.9/configure (3)make; make install

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

    /use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...

    PHP编译安装时常见错误解决办法

    1. 错误:`configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution` 解决:运行 `yum -y install libxslt-devel` 来安装libxslt开发库。 2. 错误:`configure: error: ...

    device-mapper.1.02.28.tgz

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

    sqlite3文件(sqlite3:not found 解决方法)

    sqlite3文件(用于解决安卓真机中sqlite3:not found的错误) http://blog.csdn.net/hust_twj/article/details/52212558

    openssl1.1.1编译的libcrypto.lib和libssl.lib(含include与bin文件夹)

    在 Windows 平台上,使用 OpenSSL 可能涉及到对静态库(libcrypto.lib 和 libssl.lib)的编译和集成,这对于开发需要 SSL/TLS 支持的应用程序至关重要。 标题中的 "openssl1.1.1编译的libcrypto.lib和libssl.lib" ...

    libmount-2.32.tar.gz

    然而,当我们尝试编译和安装这个版本时,可能会遇到“configure: error: *** Could not find libmount”这样的错误提示,这通常是由于系统环境配置不完整或者依赖关系未满足所导致的。 首先,我们要明白“configure...

    gmp 5.0.4 安装GCC必需文件

    GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones ...

    Linux 开发板移植gdb

    开发板没有gdb,写程序老出错而且找不到问题在哪里。于是痛定思痛,决定移植一个gdb。 交叉编译器:arm-none-linux-gnueabi ...(3)./configure –host=arm-none-linux-gnueabi –prefix=$PWD/install –wi

    konqueror-embedded-ok.tar.bz2

    configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your.... 具体参考我的博客:http://blog.csdn.net/niyufeng/article/details/7233102《6.1 qtopia-2.2.0上实现konqueror网页浏览器 ...

    Mysql .lib转.a

    在IT行业中,数据库管理系统是至关重要的工具,MySQL作为一款开源、免费的关系型数据库管理系统,被广泛应用在各种项目中。在Windows环境下,开发人员通常使用Visual Studio或其他IDE进行开发,而这些环境通常支持....

Global site tag (gtag.js) - Google Analytics