Re: png problem compiling imlib




On Wed, 2 Dec 1998, Todd Graham Lewis wrote:
> On Wed, 2 Dec 1998, Jeff Garzik wrote:
> > Looks like it can't find the standard png headers.  Those symbols are in
> > my copy of libpng, which has been installed for at least a couple
> > months.
> 
> reflections% rpm -qa|grep png
> libpng-1.0.2-1
> reflections% nm /usr/lib/libpng.so.2.1.0.2|grep PNG_INTERLACE_NONE
> reflections%

Rather than changing versions of libpng, it looks more like you are
missing the libpng-devel package that corresponds to your libpng version,
like so:

   $ rpm -qa |grep png
   libpng-devel-1.0.1-3
   libpng-1.0.1-3
   $ nm /usr/lib/libpng.so.2.1.0 |grep PNG_INTERLACE_NONE
   $

In general, identifiers in ALL CAPS are defined only in the header
file, not in the library, so it's not a problem that your library
doens't have the string, the error you are getting is because it can't
find the header file from the devel package.

Best of Luck,
-Gleef



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