[ka-Map-users] Unable to load './php_mapscript_46.so'

Adam adam at jamradar.com
Thu Jul 28 01:35:00 EDT 2005


I'm installing ka-map for the first time and I'm getting this error:



Warning: dl() [function.dl]: Unable to load dynamic library './php_mapscript_46.so' - ./php_mapscript_46.so: cannot open shared object file: No such file or directory in /www/htdocs/ka-map/init.php on line 41

Fatal error: Call to undefined function ms_newMapObj() in /www/htdocs/ka-map/init.php on line 44



I substituted "$szPHPMapScriptModule = 'php_mapscript_46.'.PHP_SHLIB_SUFFIX;" with "$szPHPMapScriptModule = "/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.so" but that didn't work.

I compiled mapserver with PHP.  

How exactly should I be configuring $szPHPMapScriptModule?

Here is every php_mapscript* file on my sytem:

[root at localhost ka-map]# find / -name "php_mapscript*"
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript_util.o
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.o
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.h
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript_util.c
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.so
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript.c
/root/newapps/mapserver-4.6.0/mapscript/php3/php_mapscript_util.h
[root at localhost ka-map]# find / -name "php_gd*"
/usr/local/src/webserver/php-5.0.4/ext/gd/php_gd.h
/usr/local/src/webserver/php-5.0.4/ext/dba/php_gdbm.h
[root at localhost ka-map]#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20050728/ee422b8a/attachment.html


More information about the ka-Map-users mailing list