[Gdal-dev] missing libproj.so

Norman Vine nhv at cape.com
Thu Feb 12 12:28:26 EST 2004


Frank Warmerdam writes:
> 
> Matt Wilkie wrote:
> > 
> > The command you gave me compiled okay (no errors) and I copied the 
> > results into $prefix/bin and $prefix/lib.  However gdalwarp still 
> > complains about "Unable to load PROJ.4 library (libproj.so)". Do I need 
> > to symlink libproj.dll.a to libproj.so or something?
> 
> I would suggest that, yes.

Note on further investigation 

I see that there is a provision for compiling PROJ_STATIC
in ogrct.cpp but that this isn't a configurable option so you should
be able to do something like

./configure $your_gdal_configure_options
export PROJ_STATIC=1; make

and you will link against the static library and the opendll call
will not be made

perhaps PROJ_STATIC support can be added to the configure script ?

HTH

Norman



More information about the Gdal-dev mailing list