Closed tomplex closed 5 years ago
I don't have access to OS X to explore this, but it seems a little suspicious that the cmake
output shows a path to a dylib
for GDAL but not for GEOS.
Interesting. I have a libgeos.dylib
and libgeos_c.dylib
in my /Library/Frameworks/GEOS.framework/Versions/3/unix/lib
directory.
The _c
one is what it should be linking against.
I'm pretty unfamiliar with the guts of this sort of thing, any recommendations as to how to make that happen, or what to search for?
You could do make exactextract_bin VERBOSE=1
and see what the linker invocation actually looks like, and then try tweaking that command. I'm guessing you'll see that the libgeos_c.dylib
file isn't being passed to the linker.
If this is the case, you'd want to poke around in FindGEOS.cmake
and see if you can find out why. It's possible that the issue has come up in a large project like QGIS and been fixed there.
Thanks, Dan. Will dig deeper when I get a chance and let you know how it turns out.
Fixed by 81f7a423055f0067fe7f276c91bc2d57d1b63daa
I'm trying to install this library on OSX.
geos
&gdal
are already installed, but I'm getting a linker error onmake
:When running the
cmake -DCMAKE_BUILD_TYPE=Release ..
command, it is able to find the GEOS and GDAL libraries:Any idea what might be causing this?