[CONC-103] Libraryes compatibelity Created: 2014-08-28  Updated: 2014-09-02  Resolved: 2014-09-02

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 2.0.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Joni-Pekka Kurronen Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Ubuntu 14.04 / bacula 7.0.5



 Description   

Description
Can not get director running or
can not get compiled.

I'am useing mariadb-galera-server, it has all files as
mysql, should be 100% compatible.
Steps To Reproduce
joni@mpi1:/mpi3/S4/bacula-7.0.5$ ./configure --with-mysql --enable-bat

root@mpi1:/etc/bacula# /sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -f
/sbin/bacula-dir: symbol lookup error: /usr/lib64/libbaccats-7.0.5.so: undefined symbol: mysql_init

joni@mpi1:/mpi3/S4/bacula-7.0.5$ ./configure --with-mysql=/usr/include/mysql --enable-bat

configure: error: Invalid MySQL directory /usr/include/mysql - unable to find mysql.h under /usr/include/mysql

Reported also:
http://bugs.bacula.org/view.php?id=2097

Bacula have been compiled and working whit Mysql
at same enviroment.

BUT IT's THERE:

joni@mpi1:/mpi3/S4/bacula-7.0.5$ ls -la /usr/include/mysql/mysql.h
rw-rr- 1 root root 38691 elo 9 01:13 /usr/include/mysql/mysql.h
joni@mpi1:/mpi3/S4/bacula-7.0.5$



 Comments   
Comment by Joni-Pekka Kurronen [ 2014-08-28 ]

In think this is the issue:

https://mariadb.atlassian.net/browse/CONC-23

Comment by Georg Richter [ 2014-09-02 ]

Instead of expecting a path of the mysql/mariadb installation configure script should use mysql_config or mariadb_config to determine the right settings.

--with-mysql=/path/to/mariadb_config
--with-mysql=/path/to/mysql_config

Generated at Thu Feb 08 03:02:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.