[Mapserver-users] php mapscript config help!

Paul Spencer spencer at dmsolutions.ca
Wed Jul 2 04:40:12 PDT 2003


Mark,

I believe that the problem is that you are compiling/linking against a 
different version of GDAL than you are linking against at runtime.

If you chose the default prefix for GDAL then it would be installed in 
/usr/local/lib.  Is it possible that you also installed GDAL in 
/usr/lib?  Or that you did not run make install after you last ran make 
on GDAL?

Cheers,

Paul


Mark Balman wrote:

> Hi List
> 
> Having finally managed to get php -4.2.3 (as a cgi) and mapserver (4.0b)
> installed onto Linux Mandrake 9 (thanks to all who have helped!), I thought
> I would try and have a go at configuring php mapscript. I managed to get a
> php_mapscript.so compiled without errors. Now when I call the info.php page
> to test I recieve the following error message:
> 
> Warning: Unable to load dynamic library
> '/usr/local/lib/php/extensions/php_mapscript.so' -
> /usr/local/lib/php/extensions/php_mapscript.so': undefined symbol:
> _ZNK19OGRSpatialReference7IsLocalEv in /var/www/html/info.php on line 2
> 
> I am guessing this means that one of the other libraries (GDAL?) is not
> configured properly. Please can anyone shed some light on this error and
> point me in the right direction.
> 
> TIA
> 
> Mark
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 

-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca





More information about the MapServer-users mailing list