[mapserver-users] libgdal error with php/MapScript

Jacolin Yves yjacolin at free.fr
Thu Jan 8 06:45:43 PST 2009


Le Thursday 08 January 2009 15:39:14 Daniel Morissette, vous avez écrit :
> 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,

/etc/ld.so.conf and ldconfig command was already edited or run :(

I am building PHP5 to see if this changes something,

Thanks anyway,

Y.
-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the MapServer-users mailing list