Comment 23 for bug 1570923

Revision history for this message
Kern Sibbald (kern) wrote :

Linking of Bacula 7.4.x on Ubuntu 16.04 has the same problem described in this bug report.

It seems to me that something is wrong with the Ubuntu 16.04 packaging of MySQL. Bacula needs libmysqlclient_r.so to work correctly, and that shared library is not installed on Ubuntu 16.04 (at least not on my system). Thus when linking the Bacula catalog library, the mysql_init symbol is not defined. The "fix" in #22 from Marcos may work, but then the client library will be linked directly into Bacula rather than using the system shared object.

Perhaps the libmysqlclient_r.so has been replaced in Ubuntu 16.04 with libmysqlclient.so, but if this is the case, it is somehow confusing the Bacula MySQL build.

Consequently, as far as I am concerned, either the Ubuntu 16.04 package for MySQL is broken or it is changed in a way that is no longer compatible with Bacula or Bacula is no longer compatible with your released MySQL. Can someone clarify this point for me?

Kern Sibbald
Bacula Project Manager