After installing fresh mariadb, I'm having troubles using some software compiled with the mysql support.

For ex. mysql2 ruby gem: Incorrect MySQL client library version! This gem was compiled for 5.5.23-MariaDB but the client library is 5.1.61

Quick investigation took me into this conclusions: mariadb-client-5.5 introduces new libmariadbclient18, but depends on libdbd-mysql-perl which depends on libmysqlclient16.

So after install we have 2 libraries: original mysql) and mariadb).

And default is symlinked to

Can this be solved in some way?

Answer Answered by Kristian Nielsen in this comment.

It is expected behaviour to have both and libmysqlclient.18.

The symlink to is a bug, it should be It will be fixed in the next 5.5 release, thanks for pointing this out!



Comments loading...