[mapserver-users] libgdal error with php/MapScript
Daniel Morissette
dmorissette at mapgears.com
Thu Jan 8 06:39:14 PST 2009
Jacolin Yves wrote:
> ... --with-gdal=/usr/local/bin/gdal-config ...
>
[...]
> PHP Warning: Unknown(): Unable to load dynamic
> library '/usr/lib/php4/php_mapscript.so' - libgdal.so.1: cannot open shared
> object file: No such file or directory in Unknown on line 0
> /etc/php.d/mapscript.ini
>
Your libgdal.so.1 is installed in /usr/local/lib. You need to make sure
that directory is in the system's library path. The simple way to do
that is to add /usr/local/lib to the file /etc/ld.so.conf and then run
/sbin/ldconfig as root to update the runtime linker's cache.
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list