[mesa-users] configure problems with pgplot + libpng for mesa
paxton at kitp.ucsb.edu
Wed Dec 15 12:41:32 EST 2010
The PGPLOT extension for MESA is a big hit -- thanks again to Philip Pinto for getting it started.
I'm sending email this in case anyone in mesa-users can help me with a configuration issue.
Upgrading to the new ifort (12.0) has forced me to rebuild pgplot, and somehow things
have gotten confused so that configure is using one source for the png headers and a different
source for the libpng.dylib library. The result is of course failure when I try to do png
output. When I try to produce png output with pgplot, it reports as follows:
libpng warning: Application was compiled with png.h from libpng-1.4.1
libpng warning: Application is running with png.c from libpng-1.2.44
libpng error: Incompatible libpng version in application and library
PGPLOT /png: error in libpng while writing file tst.png, plotting disabled
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libpng12.0.dylib 000000010037022C Unknown Unknown Unknown
libpgplot.0.dylib 000000010005E9AC Unknown Unknown Unknown
libpgplot.0.dylib 000000010005DBC6 Unknown Unknown Unknown
There are libpng12's and libpng14's on my disk, so configure must be getting
png.h from a place with libpng12 and then using the libpng from a place with libpng14.
Do you happen to know a way to get configure to do the right thing here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mesa-users