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?
thanks,
Ben
Dan Espen wrote:
Ben Sferrazza <[EMAIL PROTECTED]> 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.
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]