Am 30.12.2019 um 15:13 schrieb Thiago Macieira:
- do we need a small paragraph in the documentation why we can't ship
it anymore and that MariaDB should be preferred?
Yes. Just ship the MariaDB one.
Can you explain why this isn't done now?
Maybe since nobody cares? Don't know. That's why I bring it up here.
Why can't we build against the
MariaDB libraries and ship those, with their ability to connect to MySQL
servers?
Is the issue the SONAME that the library comes under? That you have to choose
at link time which one of the two you want, meaning the one that needs to be
present at runtime? If so, my recommendation stands: use MariaDB.
Yes, they're using symlinks from libmysqlclient.so to libmariadb.so.3:
> ll /usr/lib64/libmysqlclient*
lrwxrwxrwx 1 root root 15 16. Dez 12:11 /usr/lib64/libmysqlclient_r.so
-> libmariadb.so.3
lrwxrwxrwx 1 root root 15 16. Dez 12:11 /usr/lib64/libmysqlclient.so ->
libmariadb.so.3
> ldd plugins/sqldrivers/libqsqlmysql.so
...
libmariadb.so.3 => /usr/lib64/libmariadb.so.3 (0x00007fabaec5b000)
And on windows it's currently not possible to link against mariadb since
the (import) libs are named libmariadb.
Christian
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development