[ka-Map-users] Precache.php fails: "This build of mapscript can't
be load as a 'cli' module..."
Steve Walker
walker at mfgis.com
Tue Jul 18 00:11:33 EDT 2006
Any advice to the following would be appreciated, thank you.
-steve
Running
`php precache.php http://www.usmapserver.com/ka-map/tile.php`
Returns the following:
Fatal error: This build of mapscript can't be load [sic] as a 'cli' module
for stability reason, but only with php as an apache DSO.
Under this architecture:
Debian 'etch'
Linux mfgis.com 2.6.8-022stab078.9-enterprise #1 SMP Thu Jun 8 12:38:51
MSD 2006 i686 GNU/Linux
apache2 (2.0.55-4)
php4 (4.4.2-1)
/usr/lib/cgi-bin/mapserv -v
MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=EPPL7
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE
DEBUG=MSDEBUG
cd /usr/lib/php4/20050606
walker at mfgis:/usr/lib/php4/20050606$ ldd php_mapscript.so
libcurl-gnutls.so.3 => /usr/lib/libcurl-gnutls.so.3 (0x40113000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x40144000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x40160000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x401de000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x40203000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x40208000)
libresolv.so.2 => /lib/tls/libresolv.so.2 (0x4020b000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x4021f000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4024f000)
libgnutls.so.12 => /usr/lib/libgnutls.so.12 (0x40253000)
libz.so.1 => /usr/lib/libz.so.1 (0x402bb000)
libpq.so.4 => /usr/lib/libpq.so.4 (0x402cf000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x402eb000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4030c000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4037a000)
libgdal1.3.1.so.1 => /usr/lib/libgdal1.3.1.so.1 (0x4039f000)
libgeos.so.2 => /usr/lib/libgeos.so.2 (0x407d4000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x408c7000)
libproj.so.0 => /usr/lib/libproj.so.0 (0x408d9000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x4090f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4095f000)
libm.so.6 => /lib/tls/libm.so.6 (0x40a40000)
libc.so.6 => /lib/tls/libc.so.6 (0x40a66000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40b9e000)
/lib/ld-linux.so.2 (0x80000000)
libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0x40baa000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x40bba000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x40c08000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0x40c0c000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
(0x40c4b000)
libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0x40d86000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0x40db4000)
libodbc.so.1 => /usr/lib/libodbc.so.1 (0x40dca000)
libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x40e29000)
libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x4115c000)
libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x411a9000)
libdf.so.4 => /usr/lib/libdf.so.4 (0x411cc000)
libungif.so.4 => /usr/lib/libungif.so.4 (0x4126b000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0x41273000)
libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x412c8000)
libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x412fc000)
librt.so.1 => /lib/tls/librt.so.1 (0x4146a000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x41473000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41489000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x41554000)
libltdl.so.3 => /usr/lib/libltdl.so.3 (0x41583000)
libicuuc.so.34 => /usr/lib/libicuuc.so.34 (0x4158a000)
libicudata.so.34 => /usr/lib/libicudata.so.34 (0x41696000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41f0b000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x41f19000)
strings php_mapscript.so|grep 'This build'
This build of mapscript can't be load as a '%s' module for stability
reason, but only with php as an apache DSO.
--
Steve Walker
Middle Fork Geographic Information Services
walker at mfgis.com
360-671-2505
More information about the ka-Map-users
mailing list