Ubuntu 10.04 LTS Server and MariaDB 5.5.23

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: libmysqlclient.so.16(from original mysql) and libmysqlclient.so.18(from mariadb).

And default libmysqlclient.so is symlinked to libmysqlclient.so.16

Can this be solved in some way?

Answer Answered by Kristian Nielsen in this comment.

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

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

MDEV-257

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.