[Mapserver-users] unable to load dynamic library

Daniel Morissette morissette@dmsolutions.ca
Sun, 12 Jan 2003 21:07:34 -0500


frauke.trurnit@gmx.de wrote:
> 
> I get the following error message:
> 
> Unable to load dynamic library
> '/usr/local/lib/php/extensions/php_mapscript.so' - /usr/local/lib/php/extensions/php_mapscript.so: undefined symbol:
> GDALGetRasterXSize in /usr/local/httpd/htdocs/releases/bundestag.php4 on line 2
> Fatal error: Call to undefined function: ms_newmapobj() in
> /usr/local/httpd/htdocs/releases/bundestag.php4 on line 4
> 


PHP seems to find your php_mapscript.so OK.  The problem seems related
to your GDAL installation, php_mapscript.so would have been compiled for
a given version of GDAL but would find another version at runtime.  Make
sure you don't have two copies of GDAL on your system, and that
MapServer and MapScript are compiled for this copy of GDAL.

(to be safe, recompile and reinstall GDAL from scratch: make clean;
make; make install and then recompile MapServer: make clean; make)

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette@dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users