Learn about Centmin Mod LEMP Stack today
Become a Member

MariaDB New installation issue missing requires of libmysqlclient.so

Discussion in 'Centmin Mod Insights' started by pamamolf, Mar 21, 2016.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    12:40 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi
    I just fire up a new digital ocean vps and centos 7.2 and i found on installation logs this:


    Code:
    ** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
    1:net-snmp-5.7.2-24.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
    1:net-snmp-5.7.2-24.el7.x86_64 has missing requires of mysql-libs
    perl-DBD-MySQL-4.023-5.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
    perl-DBD-MySQL-4.023-5.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
    2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
    2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
      Installing : MariaDB-common-10.1.12-1.el7.centos.x86_64                   1/8
    warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
      Installing : MariaDB-client-10.1.12-1.el7.centos.x86_64                   2/8
    
    Do we need a fix for the has missing requires .... ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:40 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    can ignore, MariaDB installed packages takes care mysql-libs and libmysqlclient.so.18 etc of those once it's installed.
    Code (Text):
    yum whatprovides */libmysqlclient.so.18 -q
    MariaDB-shared-10.1.12-1.el7.centos.x86_64 : MariaDB: a very fast and robust SQL database server
    Repo        : mariadb
    Matched from:
    Filename    : /usr/lib64/libmysqlclient.so.18

    Code (Text):
    rpm -ql MariaDB-shared | grep libmysqlclient.so
    /usr/lib64/libmysqlclient.so
    /usr/lib64/libmysqlclient.so.18
    /usr/lib64/libmysqlclient.so.18.0.0

    Code (Text):
    rpm -ql MariaDB-compat
    /usr/lib64/libmysqlclient.so.15
    /usr/lib64/libmysqlclient.so.15.0.0
    /usr/lib64/libmysqlclient.so.16
    /usr/lib64/libmysqlclient.so.16.0.0
    /usr/lib64/libmysqlclient_r.so.15
    /usr/lib64/libmysqlclient_r.so.15.0.0
    /usr/lib64/libmysqlclient_r.so.16
    /usr/lib64/libmysqlclient_r.so.16.0.0

    Code (Text):
    yum deplist postfix | grep -A2 libmysql
      dependency: libmysqlclient.so.18()(64bit)
       provider: mariadb-libs.x86_64 1:5.5.44-2.el7.centos
       provider: MariaDB-shared.x86_64 10.1.12-1.el7.centos
      dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit)
       provider: mariadb-libs.x86_64 1:5.5.44-2.el7.centos
       provider: MariaDB-shared.x86_64 10.1.12-1.el7.centos

    Code (Text):
    yum deplist net-snmp | grep -A2 libmysql     
      dependency: libmysqlclient.so.18()(64bit)
       provider: mariadb-libs.x86_64 1:5.5.44-2.el7.centos
       provider: MariaDB-shared.x86_64 10.1.12-1.el7.centos

    Code (Text):
    yum deplist perl-DBD-MySQL | grep -A2 libmysql       
      dependency: libmysqlclient.so.18()(64bit)
       provider: mariadb-libs.x86_64 1:5.5.44-2.el7.centos
       provider: MariaDB-shared.x86_64 10.1.12-1.el7.centos
      dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit)
       provider: mariadb-libs.x86_64 1:5.5.44-2.el7.centos
       provider: MariaDB-shared.x86_64 10.1.12-1.el7.centos
     
    Last edited: Mar 21, 2016