[Mapserver-users] unable to load dynamic library

Daniel Morissette morissette at dmsolutions.ca
Sun Jan 12 21:07:34 EST 2003


frauke.trurnit at 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 at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list