making the server

John Hockaday johnh at erin.gov.au
Thu May 11 18:21:36 PDT 2000


Ma,

I got the same error after I moved mapserv from one machine to another.  I was 
able to solve the problem by editing the Makefile and putting the full path name 
to the libttf.a library file.  Eg.

TTF_LIB=-L./gdft -lgdft /opt/contrib/lib/libttf.a

I hope this helps.


Johnh

> Date: Fri, 12 May 2000 00:25:58 +0100
> From: Ma <marin at hi.is>
> X-Accept-Language: en
> MIME-Version: 1.0
> To: "mapserver-users at lists.gis.umn.edu" <mapserver-users at lists.gis.umn.edu>
> Subject: making the server
> Content-Transfer-Encoding: 7bit
> 
> Hi,
> 
> I got the following error when I tried to initiated the script with
> browser:
> 
> ld.so.1: map.cgi: fatal: libttf.so.2: open failed: No such file or
> directory
> [Fri May 12 18:15:12 2000] [error] [client localhost] Premature end of
> script headers: /usr/local/web/maps/mapserv.cgi
> 
> I have also LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
> 
> What is wrong and how to fix it?
> 
> ---
> Ma
> 
> 




More information about the MapServer-users mailing list