[Gdal-dev] missing libproj.so
Frank Warmerdam
warmerdam at pobox.com
Thu Feb 12 12:54:35 EST 2004
Norman Vine wrote:
> 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 ?
Matt / Norman,
I think you would have to edit -DPROJ_STATIC into the GDALmake.opt file.
I don't think setting it as an environment variable will have the desired
effect.
Anyone (Alessandro?) interested in adding PROJ_STATIC configure support?
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list