[Mapserver-users] Problem (FWD)

Thomas Thomas
Mon Feb 10 11:06:16 EST 2003


------------- Begin Forwarded Message -------------

Date: Mon, 10 Feb 2003 10:55:36 +0100
Subject: Problem
MIME-Version: 1.0
X-Sensitivity: 3
From: "flodon at libero.it" <flodon at libero.it>
To: "mdp" <mdp at lists.gis.umn.edu>
Disposition-Notification-To: "=?iso-8859-1?Q?flodon at libero.it?=" <flodon at libero.it>
X-XaM3-API-Version: 3.2 R29 (B54 pl1)
X-type: 0
X-SenderIP: 62.98.141.74
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mallit.fr.umn.edu id 
h1A9lph07512

Hi,
	I'm a italian student. I have Red Hat 8.0 and I have installed mapServer 
3.6.4
with php-4.3.0,       gdal-1.1.7 and gd-2.0.11.
	I have configured, compiled (with make) and installed (with make install)
gdal-1.1.7 and gd-2.0.11, under
	/lib/gdal-1.1.7 and /lib/gd-2.0.11. Then I have configured php with option
--with-system-regex.
	I have verified that in ./main/php_config.h

		#define HSREGEX 0

		#define REGEX 0

		#define REGEX 0

	then I have compiled (with make) and installed (with make install) php. I 
have
copied ./sapi/cgi/php.so with under /var/www/cgi-bin
	and in httpd.conf I have added the following lines:

		AddType application/x-httpd-php-cgi .phtml
		Action application/x-httpd-php-cgi /cgi-bin/php
		Alias /gmap/   "/var/www/html/mapscript/gmap/htdocs/"
		Alias /ms_tmp/ "/tmp/ms_tmp/"

	I have maked writeble /tmp/ms_tmp/ directory...

	Then I have restarted apache. Then I have configured mapserver with option
		./configure --with-tiff --with-jpeg --with-gd --with-gdal 
--with-php=/lib/php-4.3.0/

	and compiled mapserver. Then I have copied 
./mapscript/php3/php_mapscript.so
under /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
	Then I have installed the demo-php-sample under /var/www/htmp/mapscript. 
Then I
have opened the browser web and
	in URL I have writed localhost/gmap/gmap75.phtml. The browser have showed:

Warning: dl() [function.dl]: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript.so' -
libgdal.1.1.so: cannot open shared object file: No such file or directory in
/var/www/html/mapscript/gmap/htdocs/gmap75.phtml on line 63

Fatal error: Call to undefined function: ms_getversion() in
/var/www/html/mapscript/gmap/htdocs/gmap75.php3 on line 51

I have controlled the corresponding paths...

Why the server unable to load dinamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript.so'???

How can I solved the problem?

Thanks

Florindo D'Onofrio



------------- End Forwarded Message -------------





More information about the mapserver-users mailing list