The mapserver port makefile has a config knob "[ ] PDF Support for PDF output via pdflib" If built with this option enabled, the mapserver applications will crash any time they attempt to open a PNG file. This appears to be caused by conflicts between pdflib's builtin PNG library and /usr/local/lib/libpng.so.6 which is loaded by the mapserver programs. In any case, building w/o the PDF knob checked solves the problem. How-To-Repeat: % cd /usr/ports/graphics/mapserver % make config [check the option for Support for PDF output via pdflib] % make all % cd /usr/ports/graphics/mapserver/work/mapserver-5.6.4 % ./shp2img -m tests/test.map -o test.png the above is the test suggested in tests/README [watch it fail]
Responsible Changed From-To: freebsd-ports-bugs->wen Over to maintainer (via the GNATS Auto Assign Tool)
wen 2010-11-05 02:51:32 UTC FreeBSD ports repository Modified files: graphics/mapserver Makefile distinfo Log: - Fix the build with PDF support. PR: ports/148834 Reported by: Tom Uffner <tom@uffner.com> Revision Changes Path 1.48 +5 -2 ports/graphics/mapserver/Makefile 1.17 +0 -1 ports/graphics/mapserver/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed.