[Mapserver-users] PHP Mapscript Problem

wbr wbr at DeTeMobil.de
Mon Aug 25 01:53:39 EDT 2003


Hi all,

i use the Maserver 3.6.6 for a while (as PHP/Mapscript), PHP Version
4.3.2.

After downloading the mapserver-4.0.tar.gz and configuring in the same
way as for the previous release, the compilation ends without any
errors.

but when i try to load the Extension i got the following error:
---------------------------------------------------------------
Warning: dl(): Unable to load dynamic library
'/usr/lib/php4/php_mapscript.so' - /usr/lib/libproj.so.0: shared object
not open in /var/www/html/kim_auswert/getmap.phtml on line 14

but the libproj Library is there (the php_mapscript.so Version 3.6.6
works !!!)


here are the configure cmd:
./configure  --with-gdal --with-proj --with-wms --with-postgis
--with-php=/usr/include/php --with-gd=../gd-2.0.12gif

here are the output from "ldd /usr/lib/php4/php_mapscript.so"
-------------------------------------------------------------
        libpq.so.2 => /usr/lib/libpq.so.2 (0x400ad000)
        libgdal.1.1.so => /usr/lib/libgdal.1.1.so (0x400c0000)
        libproj.so.0 => /usr/lib/libproj.so.0 (0x4038f000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x403c0000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40403000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40422000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40462000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40483000)
        libpdf.so.1 => /usr/lib/libpdf.so.1 (0x40491000)
        libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x40520000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x40553000)
        libm.so.6 => /lib/libm.so.6 (0x40595000)
        libc.so.6 => /lib/libc.so.6 (0x405b7000)
        libssl.so.2 => /lib/libssl.so.2 (0x406ed000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x4071a000)
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x407dd000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3
(0x40836000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3
(0x40847000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4084a000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40877000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40889000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x408a0000)
        libdl.so.2 => /lib/libdl.so.2 (0x408a9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x408ad000)



I'm a little bit confused, can someone help ?

Thank you,
Wolfgang Brungert
--
T-Mobile Deutschland GmbH
Wolfgang Brungert
Programm- /Budgetmanagement
und Wiedereinsatz BSS (T541)
Scheibenstrasse 88
48153 Münster

Tel: +49 251 977 4142
Fax: +49 251 977 4149
email: wolfgang.brungert at t-mobile.de
PGP Fingerprint: 96DC CE1D C55D AC92 300C  DE79 A799 73DE F640 B4F6






More information about the mapserver-users mailing list