On Wed, 9 Jan 2002, Adrian Bunk wrote: > 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.
No, completely wrong. You want to keep the -dev packages from being installed at once. It's the -dev package for a library that says what a program gets linked to. Just having the library on the machine does not mean packages can be linked to it. Get a clue.