Response below.
Dominik Vogt wrote:
> 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.
Yes, there are other copies of the png.h header file in
/usr/local/include, but since I do not have root access to this system,
I can't simply move this copy. Is there any system variable that I
could use to set the include path? I need to have the compiler search
in my local directories prior to searching in system wide directories ,
such as /usr/local/include.
Thanks
Ben
>>>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 - 12:16:16 BST