[mapserver-users] perl module error

Lowell Filak lfilak@medinaco.org
Thu, 21 Mar 2002 15:17:42 -0500


It appears that the code checks for a gdal flag before building in gdal support.
Did you compile with the --with-gdal or --with-ogr options? If so & if there are errors could you recompile without the options and see if your current error is related to the compile errors?
Lowell F.

The following message was sent by "Dylan Keon" <keon@nacse.org> on Wed, 20 Mar 2002 13:21:33 -0800.

> There is probably an easy fix to this, but I'm stumped.  I'm trying for the
> first time to use the MapScript Perl module in a script (use mapscript;),
> but I keep getting an error related to GDAL (see below).  I was never able
> to get GDAL set up correctly, perhaps there is a lingering GDAL problem
> that's causing this error?
> 
> Thanks,
> Dylan
> 
> ------------------------------------------
> 
> Can't load
> '/usr/lib/perl5/site_perl/5.6.0/i586-linux/auto/mapscript/mapscript.so' for
> module mapscript:
> /usr/lib/perl5/site_perl/5.6.0/i586-linux/auto/mapscript/mapscript.so:
> undefined symbol: GDALGetRasterXSize at
> /usr/lib/perl5/5.6.0/i586-linux/DynaLoader.pm line 200.
>  at /usr/lib/perl5/site_perl/5.6.0/i586-linux/mapscript.pm line 7
>