[Bug 1570923] Re: bacula-dir won't start with "undefined symbol: mysql_init"
Kern Sibbald
kern at sibbald.com
Sun Jul 3 19:18:15 UTC 2016
Please note that the above fixes do make Bacula run, but as was
discovered in bug #1592749, MySQL runs ~10 times slower than it should.
I attach a patch here and in the other bug as well that fixes this
problem. The patch is relative to released version 7.4.1, and may (I am
not sure) apply correctly after your patch is applied -- in fact, it is
a one line addition to my original patch (yours also I think). See bug
#1592749 for more details on why this patch is also needed.
** Patch added: "Define that MySQL has the mysql_thread_safe() function."
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1570923/+attachment/4694833/+files/mysql_thread_safe.patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1570923
Title:
bacula-dir won't start with "undefined symbol: mysql_init"
Status in Bacula:
New
Status in bacula package in Ubuntu:
In Progress
Status in bacula source package in Xenial:
In Progress
Bug description:
[Impact]
* bacula-dir fails to start after installation.
[Test Case]
* Install bacula-director-mysql after installing mysql-server.
bacula-dir fails to start (and the installation fails).
* In a successful case, the bacula-dir process will start (and be
running after installation).
[Regression Potential]
* The fix for this is to backport an upstream fix that changes the
build to not use libmysqlclient_r.* files (which are no longer
shiipped with MySQL 5.7). The regression potential should be low, as
bacula-dir currently does not start at all.
1. Ubuntu release :
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
2. Version of package
bacula-director-mysql:
Installed: 7.0.5+dfsg-4build1
Candidate: 7.0.5+dfsg-4build1
Version table:
*** 7.0.5+dfsg-4build1 500
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
3. Expectation : bacula-dir should start
4. bacula-dir did not start because of :
root at xenial:~# bacula-dir -d 99
bacula-dir: dird.c:194-0 Debug level = 99
bacula-dir: address_conf.c:264-0 Initaddr 0.0.0.0:9101
root at xenial:~# bacula-dir: dir_plugins.c:148-0 Load dir plugins
bacula-dir: dir_plugins.c:150-0 No dir plugin dir!
bacula-dir: symbol lookup error: /usr/lib/bacula/libbaccats-7.0.5.so: undefined symbol: mysql_init
To manage notifications about this bug go to:
https://bugs.launchpad.net/bacula/+bug/1570923/+subscriptions
More information about the Ubuntu-sponsors
mailing list