[gdal-dev] Unable to compile Gdal under Cygwin

Even Rouault even.rouault at spatialys.com
Sun Oct 11 07:57:05 PDT 2015


Le dimanche 11 octobre 2015 16:17:28, Dr Rainer Woitok a écrit :
> Hi,
> 
> On Saturday, 2015-10-10 16:31:50 +0200, I myself wrote:
> > ...
> > 
> >                          And lo and behold! the compilation succeeded.
> 
> Now on to testing: plenty of tests failing due to
> 
>    ERROR 6: Unable to load PROJ.4 library (cygproj-0.dll)
> 
> Well, the real  PROJ.4 library  is meanwhile named  "cygproj-10.dll" and
> resides in a directory mentioned in  environment variable "PATH".  Where
> does the name "cygproj-0.dll" come from?   Can I do something about that
> (other than linking statically via "--with-static-proj4=...")?
> 
> Somehow I  don't quite  like the idea  of renaming my  PROJ.4 library to
> what Gdal currently thinks is the right name :-(

Ah, yes I guess it comes from latest proj version where the soname was bumped. 
Well you can safely rename/copy cygproj-10.dll as cygproj-0.dll to please what 
is currently hardcoded in ogr/ogrct.cpp

--with-static-proj4 is probably the cleanest alternative rather than dynamic 
loading.

> 
> Sincerely,
>   Rainer
> 
>  ----------------------------------------------------------------------
> 
> | Rainer M Woitok                | Phone : (+49 60 93) 487 95 95       |
> | Kolpingstraße 3                | Mobile: (+49 172) 813 6 831         |
> | D-63846 Laufach                | Mail  : Rainer.Woitok at Gmail.Com     |
> | Germany                        |                                     |
> 
>  ----------------------------------------------------------------------
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list