[pkg-bacula-devel] Bug#1019395: bacula FTCBFS: fails finding libmysqlclient

Helmut Grohne helmut at subdivi.de
Wed Sep 7 20:23:41 BST 2022


Source: bacula
Version: 9.6.7-5
Tags: upstream patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

bacula fails to cross build from source, because it fails finding
libmysqlclient. It looks for mysql libraries using mysql_config, which
is known to not work during cross compilation. Rather than mysql_config,
using pkg-config works. This patch introduces another way of detecting
mysql using pkg-config as pkg-config generally works with cross
compilation and mysql provides a working .pc files. Please consider
applying the attached patch.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 3023 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20220907/cdeea486/attachment.patch>


More information about the pkg-bacula-devel mailing list