[postgis-users] Encountering error while creating the PostGIS extension!!

sablok sablok at amazon.com
Tue Jul 26 10:20:07 PDT 2016


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
"/local/home/sablok/workspace/sablok/Project/build/Project/Project-1.0/RHEL5_64/DEV/build/lib/postgresql/postgis-2.2.so":
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:

//local/home/sablok/workspace/sablok/Dev/build/PostGIS/PostGIS-1.0/RHEL5_64/DEV.STD/build/lib/libgeos_c.so.1
/local/home/sablok/workspace/sablok/Dev/build/PostGIS/PostGIS-1.0/RHEL5_64/DEV.STD/build/lib/libgeos_c.so.1.9.0
/local/home/sablok/workspace/sablok/Dev/env/PostGIS-1.0/runtime/lib/libgeos_c.so.1
/local/home/sablok/workspace/sablok/Dev/env/PostGIS-1.0/runtime/lib/libgeos_c.so.1.9.0
/local/home/sablok/workspace/sablok/Dev/src/PostGIS/configuration/geos/3.5.0/geos-3.5.0/capi/.libs/libgeos_c.so.1/

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.


More information about the postgis-users mailing list