On Wed, 9 Jan 2002, Daniel Stone wrote: > > > How do you plan to prevent programs that link with libqt2 to also link > > > with libpng3 ? Manual check ? > > > > Another possiblility is the following (only the new dependencies are > > listed): > > > > Package: libqt2-dev > > Conflicts: libpng3 > > Build-Conflicts: libpng3 > > > > [note that libpng3 is the library package _not_ the -dev package] > > > > > > This way neither a program that links with libqt2 nor a library libqt2 is > > linked with can be linked with libpng3. > > What? That means that you can't have a libpng3 program on a machine with > libqt2-dev installed ... icky.
Yes, but that's the only way I see to ensure that there aren't some ugly problems like e.g. Package: abc Depends: libqt2, libxyz Package: libqt2 Depends: libpng2 Package: libxyz Depends: libpng3 > -d cu Adrian