[mapserver-users] Problems with gd missing freetype support in RedHat 7.2

Tim Sutton sutton_t at giug.net
Fri Nov 16 04:35:30 EST 2001


Hi

This is really just a general note for the archives so that if anyone
encounters the same problem they will have an answer:

Problem: Running php_mapscript (possibly will affect other forms of
mapserver too) on RedHat 7.2 raises an error where truetype labels are
used ('gd has not been compiled with freetype support'). I tried
compiling gd from source, but it does not seem to create a libgd.so
file, only a libgd.a file. This causes apache to not load properly.

Solution: Grab the redhat 7.1 rpm for gd (version 1.8.3) which does
seem to have freetype compiled in and downgrade the gd1.8.4 to this
version. Restart the httpd server and you should one again be able to
use truetype labels on your maps.

Tim

-- 
-----------------------------------------------------
Tim Sutton                          WRc plc
Consultant, GIS Solutions Group     Frankland Road
Direct line:  +44 (0) 1793 865056   Blagrove
Switchboard:  +44 (0) 1793 865000   Swindon
Fax:          +44 (0) 1793 865001   Wiltshire SN5 8YF
                                    United Kingdom

WRc - Solutions for Water, Waste and the Environment
-----------------------------------------------------




More information about the mapserver-users mailing list