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!!

sablok
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.
_______________________________________________
postgis-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-users