famzah (3425087)writes"Since version 5.5 MySQL started to ship the client/server binaries statically linked against the "libmysqlclient.a" library. This uses more disk space and also takes away the option to fix the shared code in the library once, rather than by recompiling every single binary which uses it.
Thesummary by Axel Schwenkefrom MariaDB is right on the target:
- In the past we exported every symbol from libmysqlclient.so (this was certainly bad)
- We changed this to export only API functions (good)
- Our own (MySQL) clients use non-API functions and thus don't work with the new dynamic lib. There is a word for this: it's a bug.
- We are too lazy to fix the clients (or extend the API). So we take the short path and link the clients with the static lib. I also have a word for this: disgusting.
"
Stellungnahme:Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn