[Mapserver-users] (no subject)

Norman Norman
Fri Dec 20 06:38:33 PST 2002


Sven Jacobi writes:
> 
> I try to reconfigure mapscript for python and I do it the
> way described in the Wiki.
> I don't know how to deal with the following error:
> 
> gcc -shared build/temp.solaris-2.8-sun4u-2.1/mapscript_wrap.o ../../libmap.a 
> /home/jacobi/MAP/library/ogrsf_frmts.a /home/jacobi/MAP/library/gdal.a 
> /home/jacobi/MAP/library/ogr.a /home/jacobi/MAP/library/gdal.a 
> /home/jacobi/MAP/library/cpl.a -L../.. -L../../gd-1.8.4 -L/lib 
> -L/usr/local/lib -lgd -lfreetype -lttf -lpng.dll -lproj -lpq -lz -o 
> build/lib.solaris-2.8-sun4u-2.1/MapScriptc.so
> /opt/gnu/sparc-sun-solaris2.8/bin/ld: cannot find -lttf
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1

I have an alternative setup.py module that might help
http://www.vso.cape.com/~nhv/files/python/mapscript/3.7/setup.py

This one actually parses the Makefile used to build libmap.a to
determine the dependencies ect ...

Norman



More information about the MapServer-users mailing list