[debian-mysql] First draft of mariadb-client-lgpl packages

Daniel Schepler dschepler at gmail.com
Fri Jul 4 16:03:30 UTC 2014

On Fri, Jul 4, 2014 at 5:12 AM, Otto Kekäläinen <otto at seravo.fi> wrote:
> Hello Daniel,
> I quickly looked at these and I have nothing to comment about the
> packaging quality. All seems good.
> However I was thinking about the big picture here. Current MariaDB
> packages introduce libmariadbclient.so because previous concerns that
> my package should not include a file with the same name and path as
> libmysqlclient.so in the MySQL packages. However this rename is a bit
> half-way, because no other program knows that they should call
> libmariadbclient.so. I was thinking of maybe skipping altogether my
> libmariadbclient.so and only provide the LGPL version you packaged
> that will be called libmariadb.so and advertised it broadly, so that
> other developers would start to link their programs to libmariadb.so.

My main concern with that is that the LGPL library might not support
some things as well as the included GPL library, since it's based on a
much older version of mysqlclient.  To quote from the README:

The following are the main known limitations:

- double to string conversion for prepared statements
  doesn't work correctly
- support for dynamic columns is not integrated yet
- Asynchronus interface is not integrated yet

> Also I am wondering what to do with libmysqld.so, a shared lib
> introduced by MariaDB but which does not exist in MySQL.

No ideas there, unless you can convince upstream to rename it.

> Some of the background is documented here:
> https://wiki.debian.org/Teams/MySQL/MariaDBPlan
> Any suggestions?
Daniel Schepler

More information about the pkg-mysql-maint mailing list