Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.5.8
-
Fix Version/s: 10.5
-
Component/s: Server
-
Labels:
-
Environment:openSUSE Tumbleweed 20201229
Description
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: