Knowledgebase

File /usr/lib64/mysql/libmysqlclient.so.18.0.0 from install of cl-MariaDB103-libs-10.3.39-3.el7.cloudlinux.x86_64 conflicts with file from package mysqlclient18-compat-10.1.28-1.el7.cloudlinux.x86_64

The error message you provided indicates a conflict between two packages: cl-MariaDB103-libs-10.3.39-3.el7.cloudlinux.x86_64 and mysqlclient18-compat-10.1.28-1.el7.cloudlinux.x86_64. Both packages are trying to install a file with the same name (libmysqlclient.so.18.0.0), which is causing a conflict.

To resolve this issue, you have a few options:

  1. Upgrade or Reinstall Packages:

    • If possible, try upgrading both packages to versions that are compatible with each other. If they are part of a package repository, you can check for updates and install them.
  2. Remove Conflicting Package:

    • If you don't need both packages, consider removing one of them. Be careful when doing this, as it might affect other software that depends on the package you're removing.
    bash

 

  • yum remove <package-name>
  • Force Installation:

    • You can try to force the installation of one of the packages, but this can potentially lead to conflicts or unexpected behavior. Use this option with caution.
    bash

 

  1. yum install --skip-broken <package-name>
  2. Consult CloudLinux or Package Documentation:

    • Check the documentation or support resources provided by CloudLinux or the package maintainers. They might have specific instructions for resolving conflicts like this.
  3. Consider a Different Approach:

    • If possible, consider if there's an alternative solution that doesn't require both of these packages to be installed. Sometimes, there are workarounds or different software options that can achieve the same result.
  4. Contact Support:

    • If you're using a specific platform or service (e.g., CloudLinux), consider reaching out to their support team. They may have specific recommendations or updates related to their environment.

Always make sure to have backups of your important data before making significant changes to your system, especially when dealing with package installations or removals. This way, you can recover in case anything goes wrong during the process.

 
  • 0 Users Found This Useful
Was this answer helpful?