[gdal-dev] GDAL and PROJ.4 in compiling

Mateusz Loskot mateusz at loskot.net
Tue Nov 27 20:59:13 EST 2007


Limei Ran wrote:
> 
> Hi Mateusz:
> 
> Thanks for your help.  Unfortunately, PROJ.4 is not installed in /usr or
> /usr/local. I do not have LD_LIBRARY_PATH point to PROJ.4.
> 
> There are five dirs under PROJ.4 installation local dir: bin/  include/
>  lib/  man/  share/.  I am not sure which dir I should use in configure.
> 
> 
> Could I fix it by configuring:
> 
> configure --with-static-proj4=/nas/lran/soft/proj.4/local
> or
> configure --with-static-proj4=/nas/lran/soft/proj.4/local/lib


You can use installation prefix:

configure --with-static-proj4=/nas/lran/soft/proj.4/local

and the 'lib' subdirectory should be found automagically.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the gdal-dev mailing list