Bastian Kleineidam wrote: > On Fri, Feb 28, 2003 at 08:19:51PM +0100, Henning Moll wrote: > > In addition i have some questions to the Depends section in > > debian/control: ${shlibs:Depends} is a nice feature, but i think > > for many packages/libraries it is way to strict, because it's > > always using the versions of installed packages which may not be > > necessary. So what's the best/common way to handle this? > > The library version number is there for some reason: binary compatibility. > If you drop the version number from library depends, your package may > break when a new library is there.
I think you meant when an old library is there, not an new one. Since libraries are not meant to be forward compatible moving code compiled with a newer library to an older one might not work. The older one did not know about the newer one. They are designed to be backward compatible in that moving to a newer library should work. The newer one knows about the older one. Assuming that is what you meant or please correct me. Bob
pgp00000.pgp
Description: PGP signature