problem installing mapscript

Stephen Lime steve.lime at dnr.state.mn.us
Tue May 16 20:50:31 PDT 2000


Looks like a problem finding shared libraries for freetype. On solaris you can set the environment variable LD_LIBRARY_PATH to contain the paths (seperated by :'s) of directories containing shared libs. Try doing that and running the dump script again.

Steve 

<<< <Tim.Mackey at agso.gov.au>  5/16  7:43p >>>
Hi,

I'm having a problem installing mapscript in version 3.3.010. I am trying to
install it with TIFF and GD 1.2. After installation (which seems to run ok),
when I run either of the example scripts in
ms_3.3.010/mapscript/perl/examples, I get the following error message:

Can't load
'/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/mapscript/mapscript.
so' for module mapscript: ld.so.1: /usr/local/bin/sun5/perl: fatal:
relocation error: file
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/mapscript/mapscript.s
o: symbol TT_Get_Face_Properties: referenced symbol not found at
/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

at /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/mapscript.pm line 7
BEGIN failed--compilation aborted at ./dump.pl line 3.

Here is the contents of my "perlvars" file:
 /public2/tmackey/mapserv/ms_3.3.010
-DUSE_TIFF -DUSE_GD_1_2
-I. -I/public2/tmackey/mapserv/include
-I/public2/tmackey/mapserv/ms_3.3.010/gd-1.2
-I/public2/tmackey/mapserv/ms_3.3.010/gdft
-I/public2/tmackey/mapserv/tiff-v3.5.5/libtiff
-L. -lmap -L/public2/tmackey/mapserv/ms_3.3.010/gd-1.2 -lgd
-L/public2/tmackey/mapserv/ms_3.3.010/gdft -lgdft -lm

Can anyone give me a suggestion as to how to fix this?

thanks,

Tim Mackey
Web Applications Developer
Australian Geological Survey Organisation
email: tim.mackey at agso.gov.au





More information about the MapServer-users mailing list