On Tuesday 29 April 2003 10:58 am, William Trenker wrote:
I just downloaded http://www.hyperborea.org/software/repackaged/dillo-0.7.2-1.rh7.i386.rpm and installed it using this command: rpm -Uvh --nodeps dillo-0.7.2-1.rh7.i386.rpm
The system I built that on is using the libpng included with Red Hat - specifically, the latest errata package for 7.3.
(To be fair, I had to use the --nodeps option because without it rpm complains that I don't have libpng.so.2.
This is always risky unless you *know* you have the right version for what you're installing.
lrwxrwxrwx 1 root root 19 Jan 8 14:42 /usr/lib/libpng.so
libpng12.so.0.1.2.4*
So you have custom-installed libpng 1.2.4, correct? (From another thread)
So my question is how does libpng-1.0.14 relate to libpng.so.2?
There are two levels of versioning in most shared libraries - the exact version of the code (1.0.14) and a binary compatibility level for the shared object (so) library (2). This means if you upgrade the library from, say, version 1.0.13 to version 1.0.14, but they're both so level 2, you won't need to recompile other applications that use it. It sounds to me like 1.0 and 1.2 are not binary compatible, and a quick look at http://www.libpng.org/pub/png/libpng.html confirms this.
/usr/lib/libpng.so.2 -> libpng.so.3.1.2.1*
It looks like your version of libpng is really so level 3, but is also claiming to handle so level 2. My suggestion would be to download http://www.hyperborea.org/software/repackaged/dillo-0.7.2-1.src.rpm and run rpmbuild --rebuild dillo-0.7.2-1.src.rpm This should compile an RPM that uses your own copy of libpng, which should resolve the problem. What distribution are you running? Red Hat 7.x or 8? A Mandrake release? Something else? (I don't have a Red Hat 8 system right now to test on; I upgraded it to RH 9 last week. I just remember that the 7.x RPMs I built for 0.7.1.2 worked on RH 8 as well. I have some unused drive space, so I may install RH 8 and possibly another distro just for building/testing.) I'll update my page to include remarks about libpng versions.
Do you know where I can get a libpng that meets dillo's needs?
In this case, updates.redhat.com - but since that would downgrade your copy, I suggest using the Dillo src.rpm instead. -- Kelson Vibber www.hyperborea.org