MariaDB exports a few functions called "get_charset*" in libmariadbd.so.19. This conflicts with libsmbconf.so.0, which also exports a function with the same name "get_charset()".
Therefore, if an application (for example, Amarok on KDE) links both so libraries, a name conflict will happen and the application will crash.
It is a question whether MariaDB or Samba team should rename the function, but the best practice will be renaming the "get_charset" function to "mariadb_get_charset" and "samba_get_charset" function, respectively.
Related MariaDB code:
Related Samba code: