Mapserver Install: undefined symbol: php_gd_gdImageCopy

Frank Warmerdam warmerdam at POBOX.COM
Wed Sep 27 19:46:56 PDT 2006


Ryan Ollerenshaw wrote:
>  After compiling MapServer i am getting the following error when i make 
> a call to the php_mapscript.so:*
> 
> Warning*: dl() [function.dl <http://povmars/function.dl>]: Unable to 
> load dynamic library '/usr/lib/php/modules/php_mapscript.so' - 
> /usr/lib/php/modules/php_mapscript.so: undefined symbol: 
> php_gd_gdImageCopy in */var/www/html/phpinfo_mapscript.phtml* on line *21
> *
> I am using the following configure on fedora core 5:
> 
> ./configure --with-proj  --enable-runpath 
> --with-geos=/usr/bin/geos-config --with-ogr=/usr/local/bin/gdal-config 
> --with-gdal=/usr/local/bin/gdal-config 
> --with-postgis=/usr/bin/pg_config  --with-php=/usr/bin/php  --with-wcs 
> --with-wfs --with-wmsclient --with-wfsclient --with-threads
> 
> does anyone know what this php_gd_gdImageCopy symbol is?

Ryan,

Strangely I ran into the very same thing a couple days ago.  It turned
out (as I recall) that I needed to install the PHP extension for GD.  In
my case, on a fedora core system, this amounted to something like
"yum install php-gd" I believe.

Best regards,
-- 
---------------------------------------+--------------------------------------
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    | President OSGeo, http://osgeo.org



More information about the MapServer-users mailing list