[mapserver-users] libgdal error with php/MapScript

Guillaume Sueur no-reply at neogeo-online.net
Thu Jan 8 06:57:01 PST 2009


Can't it comes from an external lib dynamiccaly linked to gdal, like
Ecwlib or other ? did you try to call your php page from the command
line, which can give more information on missing dependancies ?

regards,

Guillaume

Jacolin Yves a écrit :
> 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.





More information about the MapServer-users mailing list