Encountering error while creating the PostGIS extension!!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Encountering error while creating the PostGIS extension!!

I am trying to create PostGIS extension for my local database which in my
case is "localdatabase" the command I am using to create the extension is
the following :

"./bin/psql -d localdatabase -c "CREATE EXTENSION postgis;""

but when I execute this command I get the following error -:
*ERROR:  could not load library
libgeos_c.so.1: cannot open shared object file: No such file or directory*

and when I execute the command "sudo find / -name "*libgeos_c.so.*"" I get
the following paths where the libgeos_c.so exists:


I am not too sure as to how to resolve the issue, any help is appreciated.
Thanks in advance.

View this message in context: http://postgis.17.x6.nabble.com/Encountering-error-while-creating-the-PostGIS-extension-tp5010277.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
postgis-users mailing list
[hidden email]