dark-panda / ffi-geos

ffi-geos is an implementation of the GEOS Ruby bindings in Ruby via FFI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows: Can not find library provided by OSGeo4W

liaody opened this issue · comments

When following the instructions on http://trac.osgeo.org/geos/ to install pre-packaged binary for windows through "OSGeo4W", the library that get install is "c:/OSGeo4W/bin/geos_c.dll".

ffi-geos looks for "libgeos_c.dll" and fails. Probably a good idea to look for both on windows platform.

One workaround is making a copy of the library to the right name (that works for me).

commented

This has been fixed in b0189e7 -- we now look for both "geos_c" and "libgeos_c" on all platforms. I don't think this needs to be constrained to just Windows-only, so this check is simpler.