Robie,

Thank you for your quick response. It makes sense that the default MySQL
is thread-safe and there is no _r variant.  Your patch looks fine, but
please be aware that I suspect that it may link Bacula with the static
version of MySQL rather than the shared object (.so), and your patch is
good for MySQL 5.7 on Ubuntu 16.04.  Unfortunately the patch needed to
get Bacula to link properly with MySQL 5.7 and much older MySQL's is
considerable more complex with this latest change to how the MySQL
client libraries are linked.

I have pushed what I hope is a "generic" fix to Bacula 7.4 to the public
git repository.  It has commit SHA 50327c9d4.  The equivalent "generic"
fix for Bacula 7.0 has commit SHA d6de542 and is also in the Bacula
public repo.

I imagine you will want to stay with your patch, but my version is also
now available.

Feedback from anyone would be appreciated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570923

Title:
  bacula-dir won't start with "undefined symbol: mysql_init"

To manage notifications about this bug go to:
https://bugs.launchpad.net/bacula/+bug/1570923/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to