[ZBX-11335] FTBFS with MariaDB Created: 2016 Oct 08  Updated: 2017 May 30  Resolved: 2017 May 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 3.0.5
Fix Version/s: 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Minor
Reporter: Dmitry Smirnov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: FTBFS, database, patch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian


Attachments: File build-m4-mariadb.patch    

 Description   

With MariaDB "configure" fails as follows:

checking for main in -l... no
configure: error: Not found mysqlclient library

because output of `mysql_config --libs` ("-lmariadbclient") is not recognised by "m4/ax_lib_mysql.m4".

The attached patch fixes the problem.



 Comments   
Comment by Viktors Tjarve [ 2016 Oct 12 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-11335

viktors.tjarve Regular installations of MySQL and MariaDB does not allow existence of both databases alongside. That is eliminating conflicts between MySQL and MariaDB libraries.

Comment by Viktors Tjarve [ 2016 Oct 14 ]

(1) [D] The optional functionality to show path to mysql_config file already exists. It is useful when there is a need to use the file from a non default location. In a case when there are several versions of MySQL installed or MariaDB installed alongside MySQL it is possible to select the desired MySQL client library by adding path to file mysql_config.
The documentation section on "Installation from sources" can be improved.

viktors.tjarve Please take look at the changes martins-v. RESOLVED.

martins-v Thanks, copied to other documentation versions. CLOSED.

sasha

  1. Name of MySQL config script is mysql_config instead of mysql_conf
  2. this issue was fixed only in branches 3.0, 3.2 and trunk. MariaDB shouldn't mentioned in older versions

REOPENED

martins-v The name has been fixed and notes from pre-3.0 versions removed. RESOLVED

sasha CLOSED

Comment by Andris Zeila [ 2016 Oct 17 ]

Successfully tested.

Comment by Andris Zeila [ 2016 Oct 17 ]

Note that Percona support was added to 3.0 (2.4+). Maybe we should do the same for MariaDB.

Comment by Viktors Tjarve [ 2016 Oct 17 ]

Released in:

  • 3.0.6rc1 r63193, r63194.
  • 3.2.2rc1 r63196, r63197.
  • 3.3.0 r63198.
Generated at Thu Apr 25 20:43:28 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.