[Mapserver-users] Python MapScript Tests Problems ("segmentation fault")

Frank Warmerdam warmerdam at pobox.com
Wed May 19 13:10:17 EDT 2004


Sean Gillies wrote:
> Jan,
> 
> Did you run the tests after the build step?  Did you see an ImportError
> at that time?
> 
> I suspect that the libgdal.so is not in your library path.  Did you install
> it after making?

Sean / Jan,

Or even more likely, you have two version of the GDAL shared library
around and the wrong one is being picked up.  CPLFreeConfig() is relatively
recent in GDAL.  It was introduced very late in 2003.   The mapgdal.c module
only compiles in the call to CPLFreeConfig() if the GDAL version seems
sufficiently recent but if you build against recent include files but
link or run against an older shared library then that entry point will not
be available.

Good luck,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the mapserver-users mailing list