{{{> Currently my package will depend on all of the database libs: > > | Depends: [...], libmysqlclient15off (>= 5.0.24-2), libpq4 (>= 8.1.4), libsqlite3-0 (>= 3.3.8) > > This kind of defeats the purpose of the package, the program(mer) uses > this library in order not to pull in any (or even all) specific > databases. > > Is it in this case ok if I replace ',' by '|' there? This would allow > the user to really choose what database backend he wants.

Yes, why not? does yada handles gracefully the absence of a library (eg. if incorrectly configured or such)?

If so did you consider:

Depends: A | B | C Reccomends/Suggests: A, B, C

> >From the subject, I seem to understand that those are added by shlibs? > This seems to suggest that something in the package is linked to all the > libraries, and I don't see how you could remove it.

The package contains plugins which are linked to each library; the plugins get dlopened, not the database libraries. This is pretty typical for plugins.}}}