ports/148834: graphics/mapserver - PDF support causes mapserver to crash when opening PNG files
tom at uffner.com
Thu Jul 22 06:50:02 UTC 2010
>Synopsis: graphics/mapserver - PDF support causes mapserver to crash when opening PNG files
>Arrival-Date: Thu Jul 22 06:50:01 UTC 2010
>Originator: Tom Uffner
FreeBSD xiombarg.uffner.com 9.0-CURRENT FreeBSD 9.0-CURRENT #195: Wed Jul 21 03:27:54 EDT 2010 root at xiombarg.uffner.com:/usr/obj/usr/src/sys/XIOMBARG i386
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.
% 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]
More information about the freebsd-ports-bugs