[mapserver-users] php-mapscript loading error

Bruno Gendron bruno_gendron at yahoo.com
Fri Aug 31 07:13:07 PDT 2001


Hi,

Just to confirm my feeling about this, I just finished
compiling the latest nightly source of
Mapserver-PHP-Mapscript with no apparent problem (the
mapserv binary is working fine). Curiously, when I
load the php-mapscript extension with dl() and test it
with phpinfo for example, no problem, but as soon as I
begin using mapscript inside my PHP script, boom!, I
receive the following error:

Warning: Unable to load dynamic library
'/usr/lib/php/extensions/php_mapscript.so' -
/usr/lib/php/extensions/php_mapscript.so: undefined
symbol: gdImageJpeg in
/var/www/html/mapserver/mapscript.php4 on line 14

My guess is that PHP and Mapscript are not using the
same GD library: is this the case?

Thanks


=====
Bruno Gendron
Consultant en TI et en geomatique / IT and GIS Consultant
Lachine, QC Canada, Tel: 514-634-7024

"Quand on connait l'equilibre, on ne se passionne pour rien,
   on ne s'attache meme pas a la vie, car on est la vie."
 Emile Cioran

___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com



More information about the MapServer-users mailing list