All versions are affected I found this that solves the issue, but maybe we should fix it in the software.
"I think this is a bug in that custom mariadb repo. Their packag MariaDB-devel-10.2.6-1.fc25.x86_64 only contains a library named:
However their pkg-config yiels another name:
> pkg-config --libs mariadb
You best raise this at the maintainers of that repo. A workaround is to symlink libmariadbclient.a to libmariadb.a:
sudo ln -s /usr/lib64/libmariadbclient.a /usr/lib64/libmariadb.a
That fixes the installation."