Get the most out of your Centmin Mod LEMP stack
Become a Member

MariaDB libmysqlclient.so from MariaDB-shared-10.1 conflicts with MySQL-shared-compat

Discussion in 'Install & Upgrades or Pre-Install Questions' started by rampage, Sep 19, 2016.

  1. rampage

    rampage New Member

    6
    0
    1
    Sep 19, 2016
    Ratings:
    +1
    Local Time:
    6:05 PM
    Hi,

    I just had a fresh install of CentOS 7 64bit and centminmod 123.09beta01

    I found the initial MariaDB database installation had problem, because there's no mysql after the init installation.
    So I maually installed the MariaDB via yum install.
    But I found now I have this problem while doing yum install:

    MariaDB-shared-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64

    So what shuld I do here?

    Best Regards,

    Edit:

    Server: VPS KVM

    OS: CentOS 7 64Bit fresh install

    Centminmod intall method:
    installed via 'Centmin Mod Latest Beta Release Install' one line installer
    The installed version is 123.09beta01

    Installation time: 11th Sep 2016
     
    Last edited: Sep 20, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    6:05 PM
    Nginx 1.13.x
    MariaDB 5.5
    You'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    • Was it fresh install or upgrade ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Yeah problem is Centmin Mod doesn't use CentOS 7 provided MariaDB 5.x packages but official MariaDB yum repository for MariaDB 10.1.x.

    When you check through your initial install log, you will find out why MariaDB failed to install. So best to save the /root/centminlogs first. Then if you have no real personal data installed/imported yet. Just refresh a new CentOS 7 OS reinstall. And try re-installing again.
    strangely that is a CentOS 5 package you installed which should NOT exist on CentOS 7 system ! I wonder if that was installed on default CentOS 7 image causing problems with MariaDB 10.1 install. That could be a problem with your web host's provided CentOS 7 image and it's default installed packages.
     
  3. rampage

    rampage New Member

    6
    0
    1
    Sep 19, 2016
    Ratings:
    +1
    Local Time:
    6:05 PM
    Thanks a lot for the help.

    I've edited my first post to provide some more details.

    I've checked my installation log and it does have problem:
    Transaction check error:
    file /usr/lib64/libmysqlclient.so.15.0.0 from install of MariaDB-compat-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64
    file /usr/lib64/libmysqlclient.so.16.0.0 from install of MariaDB-compat-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64
    file /usr/lib64/libmysqlclient_r.so.15.0.0 from install of MariaDB-compat-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64
    file /usr/lib64/libmysqlclient_r.so.16.0.0 from install of MariaDB-compat-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64
    file /usr/lib64/libmysqlclient.so from install of MariaDB-shared-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64
    file /usr/lib64/libmysqlclient_r.so from install of MariaDB-shared-10.1.17-1.el7.centos.x86_64 conflicts with file from package MySQL-shared-compat-5.1.49-1.rhel5.x86_64

    Error Summary
    -------------

    So it could be MySQL-shared-compat-5.1.49 comes from the OS installation.
    I've removed this package and everthing seems to be ok.
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    6:05 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah no idea why a CentOS 5 package is being installed by your web host's CentOS 7 default OS image !. You should report it to your web host. Who's your web host and what web host plan you on ?