Howto fix libgeos_c.so not found
Published on 24.02.2012 - 00:00 - 1 minute read
I'm working with Python Django and PostGIS.
When i try to add the Geo support to the Project, i hit this error message:
OSError: /usr/local/lib/libgeos_c.so: cannot open shared object file: No such file or directory
As I notfied about that he is try to work with the /usr/local/ path what is wrong. I found the lib installed corretly to the /usr/lib/libgeos_c.so . So i simply link it to the /usr/lib/ folder:
sudo ln -s /usr/lib/libgeos_c.so /usr/local/lib/
That does the job.
Make sure that you have the sci-libs/geos installed.
This work is licensed under a Creative Commons Attribution 4.0 International License