undefined symbol when using mapscript

Frank Koormann frank.koormann at intevation.de
Mon Mar 6 10:31:45 EST 2000


Hello,

* Chris Fuhrman (cfuhrman at tfcci.com) [000306 16:15]:
> 
> Howdy,
> 
        ...
>
> Unfortunately, when I run my test script, I get the following error:
> 
> Can't load
> '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/mapscript/mapscript.so'
> for module
> mapscript: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/mapscript/mapscript.so: undefined
> symbol: gdImageGif at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
> 169.
> 
> I'm compiling this under Redhat Linux 6.1 (kernel 2.2.12-20) with perl
> 5.005.  I believe I've got everything installed right although it looks
> like mapscript doesn't know where to find the gdImageGif Function.
> 
> Suggestions?
> 

I am not that familiar with mapscript (and perl) but what version of
the gd-library is installed on your system ? The developers dropped
gif-support from the library due to the licence issues with Unisys 
(they hold a patent on the LZW data compression used by the gif format).
Newer versions of gd (>= 1.6 ?) support only png-format (which is not a
limitation IMO). MapServer is alrady reflecting this by a define-rule
to be set in the makefile (GD=-DUSE_GD_1_6).

Cheers,

        Frank
 
P.S.: For more information on the gif issue: http://burnallgifs.org

-- 
Frank Koormann			    	 http://intevation.net/~frank/
 Intevation GmbH				http://intevation.net/
 FreeGIS Project				http://freegis.org
 Institute of Environmental Systems Research 	http://www.usf.uos.de/



More information about the mapserver-users mailing list