[Bug 929523] Re: bacula-director does not start, dummy libbaccats

Scott Moser smoser at ubuntu.com
Thu Feb 9 15:02:42 UTC 2012

bacula has mulitple implementors of the libbaccats.so (pgsql, sqlite3,

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.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

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in Ubuntu.

  bacula-director does not start, dummy libbaccats

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list