Bacula has mysql problem on x86_64

Vicki Stanfield vicki at stanfield.net
Mon Mar 20 13:32:16 UTC 2006


I am trying to figure out a problem with bacula on an x86_64 machine running
FC4. For some reasons, there are two sets of mysqlclient libraries and no
static version for the 32 bit set. I have /usr/lib/mysql which contains
mysqlclient.so.14 and libmysqlclient_r.so.14 but no libmysqlclient.a

[root at hubie bacula-1.38.5]# rpm -q --whatprovides
/usr/lib/mysql/libmysqlclient.so.14
mysql-4.1.11-2
mysql-4.1.16-1.FC4.1
[root at hubie bacula-1.38.5]# file /usr/lib/mysql/libmysqlclient
libmysqlclient_r.so.14      libmysqlclient.so.14
libmysqlclient_r.so.14.0.0  libmysqlclient.so.14.0.0
[root at hubie bacula-1.38.5]# file /usr/lib/mysql/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient.so.14: symbolic link to
`libmysqlclient.so.14.0.0'[root at hubie bacula-1.38.5]# file
/usr/lib/mysql/libmysqlclient.so.14.0.0
/usr/lib/mysql/libmysqlclient.so.14.0.0: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), stripped

Bacula is using /usr/lib/mysql instead of /usr/lib64/mysql which actually
contains the libmysqlclient.a and libmysqlclient_r.a. I don't see a
mysqllibdir option to the Bacula configure script, so I am at a loss for how
to make it work. Do I have to change all the makefiles?

Vic




More information about the fedora-list mailing list