Skip to content

MiniONE fails on Rocky Linux 9 – missing libmysqlclient.so.21 #136

@pablodelarco

Description

@pablodelarco

On Rocky Linux 9, MiniONE fails during the installation of OpenNebula because libmysqlclient.so.21 is missing:

Installing OpenNebula packages  retry 1 retry 2 retry 3 FAILED
yum -y install opennebula ...
--- STDERR ---
Error:
 Problem 1: conflicting requests
  - nothing provides libmysqlclient.so.21()(64bit) needed by opennebula-7.0.0-1.el9.x86_64
...
 Problem 6: package opennebula-flow-7.0.0-1.el9.noarch from opennebula requires opennebula-rubygems = 7.0.0, but none of the providers can be installed

This seems to happen because RHEL 9-based distros no longer include the MySQL 8.0 client libraries by default, they use MariaDB instead.

Installing mysql-community-libs manually before running MiniONE resolves the issue:

sudo dnf install -y mysql-community-libs --nogpgcheck

Might be worth handling this in the script or showing a note when it detects EL9 systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions