• CentOS6.5安装Mysql提示 missing requires of libmysqlclient.so.16()(64bit)(转载)


    今天在虚拟机CentOs中安装Mysql怎么也安装不了,总是提示一下信息,网上查了很多资料的解决方案都没有用,然后自己找到了解决方案。这里要提到一个网站https://pkgs.org/,他是linux系统的一个相关网站,里面都是相关内容

    Warning: RPMDB altered outside of yum.
    ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
    glibc-utils-2.17-55.el6.x86_64 has missing requires of libgd.so.2()(64bit)
    2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
    2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)

    1、提示缺少什么依赖,直接在该网站中进行搜索
    在这里插入图片描述
    2、点击进入下一个页面
    在这里插入图片描述
    3、右键复制链接,打开linux控制台

    [root@localhost xmf]# wget http://mirror.centos.org/centos/6/os/x86_64/Packages/gd-2.0.35-11.el6.x86_64.rpm
    --2020-02-29 03:59:20--  http://mirror.centos.org/centos/6/os/x86_64/Packages/gd-2.0.35-11.el6.x86_64.rpm
    Resolving mirror.centos.org... 13.233.140.107, 2401:78c0::e00e
    Connecting to mirror.centos.org|13.233.140.107|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 145328 (142K) [application/x-rpm]
    Saving to: “gd-2.0.35-11.el6.x86_64.rpm”
    
    100%[=======================================================================>] 145,328     17.9K/s   in 7.9s    
    
    2020-02-29 03:59:29 (17.9 KB/s) - “gd-2.0.35-11.el6.x86_64.rpm” saved [145328/145328]

    4、安装

    [root@localhost xmf]# yum install gd-2.0.35-11.el6.x86_64.rpm 
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
     * base: mirror.bit.edu.cn
     * extras: mirror.bit.edu.cn
     * updates: mirror.bit.edu.cn
    Setting up Install Process
    Examining gd-2.0.35-11.el6.x86_64.rpm: gd-2.0.35-11.el6.x86_64
    Marking gd-2.0.35-11.el6.x86_64.rpm to be installed
    Resolving Dependencies
    --> Running transaction check
    ---> Package gd.x86_64 0:2.0.35-11.el6 will be installed
    --> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-11.el6.x86_64
    --> Running transaction check
    ---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =================================================================================================================
     Package             Arch                Version                     Repository                             Size
    =================================================================================================================
    Installing:
     gd                  x86_64              2.0.35-11.el6               /gd-2.0.35-11.el6.x86_64              536 k
    Installing for dependencies:
     libXpm              x86_64              3.5.10-2.el6                base                                   51 k
    
    Transaction Summary
    =================================================================================================================
    Install       2 Package(s)
    
    Total size: 587 k
    Total download size: 51 k
    Installed size: 638 k
    Is this ok [y/N]: y
    Downloading Packages:
    libXpm-3.5.10-2.el6.x86_64.rpm                                                            |  51 kB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : libXpm-3.5.10-2.el6.x86_64                                                                    1/2 
      Installing : gd-2.0.35-11.el6.x86_64                                                                       2/2 
      Verifying  : libXpm-3.5.10-2.el6.x86_64                                                                    1/2 
      Verifying  : gd-2.0.35-11.el6.x86_64                                                                       2/2 
    
    Installed:
      gd.x86_64 0:2.0.35-11.el6                                                                                      
    
    Dependency Installed:
      libXpm.x86_64 0:3.5.10-2.el6                                                                                   
    
    Complete!
    ————————————————

    5、缺少的其他依赖也依照相同的方式进行安装。
    6、最后安装mysql:
    先检查是否已经安装过mysql

    rpm -qa | grep -i mysql

    命令查看已经安装过的组件。
    然后卸载

    sudo yum -y remove mysql80-community-release-el7-1.noarch

    然后安装新下载的mysql安装包即可。

    转载地址:https://blog.csdn.net/ethan__xu/article/details/104571914

  • 相关阅读:
    Struts1、Struts2的线程安全问题
    java基础系列——线程池
    Memcached基础
    Git基本应用
    Angular UI框架 Ng-alain @delon的脚手架的生成开发模板
    .NET CORE 框架ABP的代码生成器(ABP Code Power Tools )使用说明文档
    角落的开发工具集之Vs(Visual Studio)2017插件推荐
    【52ABP实战教程】0.3-- 从github推送代码回vsts实现双向同步
    【52ABP实战教程】0.1-- Devops如何用VSTS持续集成到Github仓库!
    【52ABP实战教程】0.2-- VSTS中的账号迁移到东亚
  • 原文地址:https://www.cnblogs.com/yinliang/p/13050568.html
Copyright © 2020-2023  润新知