Re: FVWM: Error loading PNG on Solaris

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Thu, 25 Sep 2003 09:43:33 +0200

On Wed, Sep 24, 2003 at 06:30:44PM -0700, Ben Sferrazza wrote:
> This is still confusing me. I even checked my Makefile and the path to
> my png.h seems correct.
>
> png_CFLAGS = -I/lsi/vp/spiderman/user/bsferraz/bin/libpng-1.2.5/include
> png_LIBS = -lpng -lz
>
> Yet after I make everything I get that warning that fvwm-root was
> compiled with png.h from libpng-1.0.1. Could some other system path,
> such as /usr/local/include, be overriding my local path? How could I
> force it to find the png.h of 1.2.5 from my local directory?

Did you search your system for other copies of the library? If
there is one, try moving it to some obscure place to see if it is
used. If there is none, your libpng must be broken. Perhaps the
installed header files do not match the library?

P.S.: Please don't post your replies at the top of your mails on
this list.

> >Ben Sferrazza <bsferraz_at_lsil.com> writes:
> >
> >>Thanks for the fvwm-root suggestion. I think that seems to share the
> >>cause of my troubles.
> >>
> >>% fvwm-root ~/bin/fvwm-icons/dtterm.png
> >>
> >>libpng warning: Application was compiled with png.h from libpng-1.0.1
> >>libpng warning: Application is running with png.c from libpng-1.2.5
> >>libpng error: Incompatible libpng version in application and library
> >>[fvwm-root] failed to load image file '~/bin/fvwm-icons/dtterm.png'
> >>
> >>I'm not quite sure why this would be happening. Perhaps it's finding
> >>the libpng-1.0.1 png.h file from a system wide directory before finding
> >>my local 1.2.5 png.h file. Maybe I just need to reorder my
> >>LD_LIBRARY_PATH? Any suggestions?
> >
> >
> >You shouldn't try to use LD_LIBRARY_PATH.
> >
> >Use "-R libname" during build, set it using LD_OPTIONS.

Ciao

Dominik ^_^ ^_^
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Sep 25 2003 - 02:44:53 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST