[Benchmarking] GDAL libraries conflict

Daniel Morissette dmorissette at mapgears.com
Sun Sep 20 14:02:13 EDT 2009


Andrea Aime wrote:
> 
> Is it possible to make mapserver use the GDAL in /usr/local/lib
> without forcing the entire system to use it as well?
> 

Yes, for MapServer it should be enough to add the following lines to 
httpd.conf:


   SetEnv LD_LIBRARY_PATH /usr/local/lib
   PassEnv LD_LIBRARY_PATH

However, after removing /usr/local/lib from the /etc/ld.so.conf, it may 
be necessary for users to set LD_LIBRARY_PATH before using libs/tools 
installed in /usr/local.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the Benchmarking mailing list