[mapserver-users] truetype weirdness

Frank Koormann frank.koormann at intevation.de
Mon Jan 7 08:40:50 PST 2002


Thorsten, All,

* thorsten fischer (thfischer at mapmedia.de) [020107 15:40]:
> > Did you recompile your own GD on a system that already came with GD
> > preloaded in the system libs by any chance?
> 
> I did indeed recompile gd, as well as everything else. But as gd comes
> only as a static library in its Makefile configuration by default, it
> should not care about any system libs at that point. Therefore invoking
> 'ldd' does not show any reference to libgd (it is part of the
> executable).
> 
> > You might want to use 'ldd mapserv' to double-check that the right copy
> > of gd and of the supporting freetype get picked.  That's the best I can
> > think of... this really looks like a system configuration issue. 
> 
> It looks for me that way too. But: it happens on clean out-of-the-box
> installs of SuSE 7.3 too. No comments on pros and cons of that distro
> please ;)
> 
> There is a patch to make gd compile as a shared library; i am trying to
> apply it to my own patches i use (because of the broken paths that live
> in the gd Makefile) and recompile; i will let you know what happens.
> 

>From your post it is not clear to me what versions of gd and freetype
are running. So a blind shot: 
- MapServer 3.5 need a 1.8.x version of gd (at least my experience was 
  to get positive results with 1.8.4). 
- Within your gd directory there should be a tool gdtestttf
  (Does it run successfully?)

Just some thoughts,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)



More information about the MapServer-users mailing list