bacula has mulitple implementors of the libbaccats.so (pgsql, sqlite3, mysql).
It seems like the right place for this library is in the bacula-common-<variant> package.
After one change to get the correct libbaccats-<variant>-<version>.so copied in, I have layout like:
/usr/lib/bacula/libbaccats-5.2.3.so -> libbaccats-mysql-5.2.3.so
/usr/lib/bacula/libbaccats-mysql-5.2.3.so
/usr/lib/bacula/libbaccats-mysql.so -> libbaccats-mysql-5.2.3.so
/usr/lib/bacula/libbaccats.so -> libbaccats-5.2.3.so
However, doing that results in dpkg-shlibeps complaining and failing as :
| dh_shlibdeps -pbacula-sd-mysql -Lbacula-common-mysql
| dpkg-shlibdeps: warning: debian/bacula-common-mysql/usr/lib/bacula/libbaccats-5.2.3.so has an unexpected SONAME (libbaccats-mysql-5.2.3.so)
| dpkg-shlibdeps: error: no dependency information found for debian/bacula-common-mysql/usr/lib/bacula/libbaccats-5.2.3.so (used by debian/bacula-sd-mysql/usr/bin/bscan).
| dh_shlibdeps: dpkg-shlibdeps -Tdebian/bacula-sd-mysql.substvars -Sdebian/bacula-common-mysql debian/bacula-sd-mysql/usr/bin/bcopy debian/bacula-sd-mysql/usr/bin/bscan debian/bacula-sd-mysql/usr/sbin/btape returned exit code 2
| make: *** [binary-arch-common] Error 2
| dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I'm not sure how to work around this, because bacula is certainly intending to provide the file libbaccats-mysql-5.2.3.so as libbaccats-5.2.3.so.
bacula has mulitple implementors of the libbaccats.so (pgsql, sqlite3, mysql).
It seems like the right place for this library is in the bacula- common- <variant> package.
After one change to get the correct libbaccats- <variant> -<version> .so copied in, I have layout like: lib/bacula/ libbaccats- 5.2.3.so -> libbaccats- mysql-5. 2.3.so lib/bacula/ libbaccats- mysql-5. 2.3.so lib/bacula/ libbaccats- mysql.so -> libbaccats- mysql-5. 2.3.so lib/bacula/ libbaccats. so -> libbaccats-5.2.3.so
/usr/
/usr/
/usr/
/usr/
However, doing that results in dpkg-shlibeps complaining and failing as :
| dh_shlibdeps -pbacula-sd-mysql -Lbacula- common- mysql bacula- common- mysql/usr/ lib/bacula/ libbaccats- 5.2.3.so has an unexpected SONAME (libbaccats- mysql-5. 2.3.so) bacula- common- mysql/usr/ lib/bacula/ libbaccats- 5.2.3.so (used by debian/ bacula- sd-mysql/ usr/bin/ bscan). bacula- sd-mysql. substvars -Sdebian/ bacula- common- mysql debian/ bacula- sd-mysql/ usr/bin/ bcopy debian/ bacula- sd-mysql/ usr/bin/ bscan debian/ bacula- sd-mysql/ usr/sbin/ btape returned exit code 2 arch-common] Error 2
| dpkg-shlibdeps: warning: debian/
| dpkg-shlibdeps: error: no dependency information found for debian/
| dh_shlibdeps: dpkg-shlibdeps -Tdebian/
| make: *** [binary-
| dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I'm not sure how to work around this, because bacula is certainly intending to provide the file libbaccats- mysql-5. 2.3.so as libbaccats- 5.2.3.so.