problems loading php_mapscript.so

GIRAUD Pierre bluecarto at FREE.FR
Mon Aug 9 09:37:54 EDT 2004


/
Warning: dl(): Unable to load dynamic library
'/usr/local/lib/php_mapscriptso' - /usr/local/lib/php_mapscriptso:
cannot open shared object file: No such file or directory in
/var/www/phpinfo.php on line 2/

Isn't a "." missing ?  Assumed dl(php_mapscript.so) !!
                                             ^^^^



Shawn Barnes wrote:

>Hey All,
>
>I'm unable to load php_mapscript.so into php
>
>Here is the basic system
>
>the system is debian woody,
>
>packages installed via apt-get
>        -apache  ver. 1.3.26.0woody
>        -apache-dev  ver. 1.3.26.0woody
>        -libxml2-dev ver. 1:1.8.17-2woody
>        -libpng2-dev ver. 1.0.112-3woody
>        -libreadline4-dev ver. 4.2a-5
>        -libperl-dev ver. 5.6.1-8.7
>
>installed via source
>        curl-7.12.0
>        freetype-2.1.9
>        tiff-v3.6.1
>        libgeotiff-1.2.2
>        gd-22.0.28
>        proj4
>        gdal-1.2.1
>        geos-1.0
>        postgres-7.4.3
>        postgis-0.8.2
>        php-4.3.3
>
>configured mapserver with, (minus the DIR paths to php, postgis etc.)
>./configure --with-proj --with-gdal --with-ogr --with-wmsclient
>--with-wfs-client --with-wfs --with-httpd --with-php --with-tiff
>--with-postgis --with-gd --with-freetype
>
>When i point my browser to a phpinfo.php file with dl(php_mapscript.so)
>line i get the folowing errors
>
>Notice: Use of undefined constant php_mapscript - assumed
>'php_mapscript' in /var/www/phpinfo.php on line 2
>
>Notice: Use of undefined constant so - assumed 'so' in
>/var/www/phpinfo.php on line 2
>
>Warning: dl(): Unable to load dynamic library
>'/usr/local/lib/php_mapscriptso' - /usr/local/lib/php_mapscriptso:
>cannot open shared object file: No such file or directory in
>/var/www/phpinfo.php on line 2
>
>
>
>I've built mapscript before without this problem
>
>I've searched the mailing list archives, and i still can't find where i
>have gone wrong :(
>
>Shawn
>
>
>
>



More information about the mapserver-users mailing list