[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#127252: -unstable compiled against the wrong libpng

Colin Watson <cjwatson@debian.org> writes:

> The problem appears to be that libqt2 now links to libpng3 rather than
> libpng2. When the dynamic linker loads a QT-dependent application still
> linked against libpng2, it overrides libqt2's png symbols with the png
> symbols defined in the application, so any png calls from inside qt will
> crash. Recompiling all applications to deal with this feels like the
> wrong answer; perhaps qt-x11 should be built with something like '-B
> symbolic' instead.

That's the problem; there is just no real solution besides a big

Whenever library A uses library B, and the library B soname bumps up,
you now have the problem.  Packages that use either basically must be
recompiled, or they likely end up with two copies of library B (one
under each soname), and the two probably will collide.

Reply to: