Lazarus 3.2, FPC 3.2.2
Once again MariaDB was updated - part of an openSUSE leap routine update - and has clashed with Lazarus use of MySQL Connectors - errors like:
TMySQL57Connection cannot work with the installed MySQLClient version: expected (5.7) got (3.1.22)
(Same sort of thing for other connection types as might be expected.)
Usually I just find a newer version of libmysqlclient.so. But in openSUSE libmysqlclient.so is just a symlink to libmariadb.so.3 - which is where the returned 3.1.22 comes from.
On this system I cannot even build a new libmysqlclient as the make fails, complaining about the installed version of gcc being too old.
And what damage would be caused by replacing the symlink by a real shared object?
My next option I guess is to modify the source code for the connection to respond correctly to MariaDB version reports - the code has a comment to the effect of 'we check only MySQL values - tough'. I'm reluctant to butcher well-written code though.
Or perhaps to change distribution.
Anyone with a better idea? And is it time that mariaDB should be better supported?