[geos-devel] mingw64 file libs changed

Sandro Mani manisandro at gmail.com
Tue Jun 14 05:00:07 PDT 2022


Just a note: library versioning only applies to shared libraries, static 
libraries are unversioned. And FWIW, import libraries are also 
unversioned. So no link command should be affected (unless you are 
linking against the dll shared library rather than the dll.a import 
library).

Sandro

On 14.06.22 12:59, Roger Bivand wrote:
> In R >= 4.2, Windows static linked binary packages linking to GEOS use 
> MXE, locally updating the MXE use of GEOS 3.6.2 to 3.9.1:
>
> https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/geos.mk 
>
>
> We currently hot-patch geos-config to modify it for static libs:
>
> https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/geos-1-fixes.patch 
>
>
> We could hot-patch files in a GEOS >= 3.11.0 tarball to remove 
> instructions creating versioned libraries, but have not yet tested 
> RC1. R packages also need to list static linked libraries by name, and 
> revising each of a dozen or so at each GEOS release would be error prone.
>
> Is a cmake option a way to satisfy both those needing versioned, or 
> unversioned library names?
>
> Does anyone else use MXE; if so, might it make sense to feed changes 
> in GEOS forward to MXE?
>
> Best wishes,
>
> Roger
>


More information about the geos-devel mailing list