[FGS] Problem loading dynamic libraries

Hermann Kaser hermann at ninefortynine.com
Thu Aug 4 07:55:33 EDT 2005


I downloaded and installed "FGS Base with GMap" and got the demo to run Ok. 

I use Plesk on my webserver running Plesk to manage my domains and setup and
can't get MapServer to work with it. 

if(!extension_loaded("MapScript")) 
	dl('php_mapscript.'.PHP_SHLIB_SUFFIX);

shows:

Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/php_mapscript.so' - libmap.so.4.4.1: cannot open shared
object file: No such file or directory in
/home/httpd/vhosts/domain.com/httpdocs/index.php on line 4

Yet doing:

[root at server root]# ls -al $FGS_HOME/lib | grep libmap
lrwxrwxrwx   1 root root      15 Aug  1 12:44 libmap.so -> libmap.so.4.4.1
-rwxrwxr-x   1 root root  739852 Feb 18 00:11 libmap.so.4.4.1

Since FGS runs off it's own server would this have anything to do with
permissions?

Thanks a lot
Hermann



More information about the Foss-gis-suite mailing list