-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libgeos_c not found when in non-standard location #45
Comments
It looks like #35 was in part trying to fix this issue, but given that |
Thanks. This approach works. Wondering if it could be solved upstream so that automatic detection works. FYI, rather than editing
|
I think this is a problem in the
You then have to run
At this point, If you are in the
and check that
I can turn this into a pull request if the maintainers would like. |
When libgeos is installed in a location not in the default system search path (as it is on our HPC system, where it is loaded via a module), the
configure
script fails to add the correct linker flag to theMakeovers
file.Relevant section of
configure
output:But the final compilation step gives:
Manually editing the second line of
src/Makevars
to include the-L/apps/libraries/geos/3.7.0/el7/AVX512/intel-2018/lib
thatconfigure
already detected that it needs allows the library to link and install correctly.I'm not good at autoconf, so I can't tell whether this is
configure
using some C++/linker flags that are not then used byR CMD INSTALL
, or whether it's a logic bug inconfigure.ac
where a variable is forgotten to be set.The text was updated successfully, but these errors were encountered: