put libmariadbclient18 symlinks into libmariadbclient18.deb package, not into libmariadb3.deb, because installing/reinstalling libmariadbclient18.deb must recreate these symlinks.