Comments - MariaDB versus MySQL - Compatibility

11 years, 1 month ago Cristiano Guadagnino

First of all: I'm not sure this is the right place for questions, but I haven't found a better place.

Since replacing mysql 5.1 with MariaDB 5.5 several of my perl scripts don't work anymore.

Today I was trying to configure SPhinx with RT (Request Tracker from Best Practical), but when i launch the rt-setup-fulltext-index script I get this output:

------------------------------------
root@dvopendb2:/opt/rt4# ./sbin/rt-setup-fulltext-index
install_driver(mysql) failed: Can't load '/usr/perl5/site_perl/5.10.0> /i86pc-solaris-64int/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.16: open failed: No such file or directory at /usr/perl5/5.10.0/lib/i86pc-solaris-64int/DynaLoader.pm line 203.
at (eval 85) line 3.
Compilation failed in require at (eval 85) line 3.
Perhaps a required shared library or dll isn't installed where expected at /usr/perl5/site_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 103.
BEGIN failed--compilation aborted at ./sbin/rt-setup-fulltext-index line 81.
------------------------------------

How can I solve this problem?

Thank you in advance. Bye Cris

 
11 years, 1 month ago Sergei Golubchik

maria-discuss@lists.launchpad.net would be a good place to ask questions like that.

Anyway...

It looks like your problem is not caused by MySQL->MariaDB migration, but by 5.1->5.5 migration. You would've had the same issue if you'd upgraded to MySQL-5.5.

Your DBD::mysql is linked with the old libmysqlclient library. You can either recompile it against the new client library (libmysqlclient.so.18) or install MariaDB-compat package with the 5.1-compatible client library.

 
11 years, 1 month ago Cristiano Guadagnino

Thank you Sergii for your help.
There's no MariaDB-compat in OpenIndiana's repositories. Actually I had to install MariaDB from the binary release for Solaris 10 on MariaDB web site.
I think I'll try to recompile.
Bye
Cris

 
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.