Re: imlib and libpng




On Mon, 28 Dec 1998, Pedro Corte-Real wrote:
> 
> Imlib seems to want libpng 1.0.1 but I have 1.0.1 and it says I have
> 1.0.2. That causes the configure script to fail. 

Hmmm, for one thing, the file name for version 1.0.1 is libpng.so.2.1.0,
the filename for version 1.0.2 is libpng.so.2.1.0.2.  At least those are
the filenames in the RPM.  For another thing, in libpng's include file
<png.h>, the version number should be given in:
  * A comment at the top of the file
  * A line: #define PNG_LIBPNG_VER_STRING
  * A line: #define PNG_LIBPNG_VER
It is the PNG_LIBPNG_VER_STRING line that imlib checks.  You probably have
a png.h from multiple versions.  I would recommend getting rid of any
remnants of 1.0.2 lying around your system, and make sure that your copy
of 1.0.1 is found, both the include files (png.h and pngconf.h) and the
libraries.

Note: The reason imlib insists on 1.0.1 is because 1.0.2 fails on many
systems.

Best of Luck.
-Gleef



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