I don't understand why. I have last version of MariaDB (mysql) installed, included mariadb-devel. I tried to search for that library (searching the internet somebody suggested to create a symbolic link between the location of the library and the /lib/ directory) but I didn't find anything. I'm not an expert in MySql, and I didn't found anything helpful on the web. So I ask you: how can I resolve this error while compiling the source?
Solved! I found out that was enough to create a copy of /usr/lib64/mariadbclient.a in the same location but named mariadb.a . It's important to make a copy, not rename directly the file, naturally. At first I tough it was enough to delete the name of the library from the Makefile in /baculasrc/src/cats but after the installation some components were missing in the bacula environment. Definitively it was a problem about the name-upgrade of some libraries in the last versions of MariaDB. Alternatively you can create a symlink to the original library file.