"Dan Kegel" dank@kegel.com writes:
So perhaps we could just change configure.ac to check PNG_LIBPNG_VER_MAJOR and make sure it's exactly 1, and check PNG_LIBPNG_VER_MINOR and make sure it's 2 or greater. That would let us avoid the old broken libpng's, wouldn't it?
No, that doesn't solve the problem of finding the correct soname. The problem is that the soname isn't libpng.so.<version> like it ought to be, but something like libpng<version>.so.<otherversion>. We could link explicitly to libpng12.so but this would break when a 1.3 version is released.