[postgis-users] Error using PostGIS and GEOM

Eduin Yezid Carrillo Vega yecarrillo at gmail.com
Tue Feb 24 11:41:02 PST 2009


Add this line to /etc/ld.so.conf.d/local.conf    :
/usr/lib64/pgsql/

And then run:
ldconfig

Eduin Yesid Carrillo Vega
Ingeniero Civil, Esp. Sistemas de Información Geográfica
Centro de Investigación y Desarrollo en Información Geográfica
Instituto Geográfico Agustín Codazzi - IGAC
Cr 30 48-51
Tel +57 1 3694000  ext 4603
Bogotá D.C., Colombia



On Tue, Feb 24, 2009 at 12:39 PM, Giri <giriprakash at gmail.com> wrote:
> HI,
>
> I  recently installed the PostGIS to use it with Geoserver, the project that
> uses the PostGIS needs the GEOM extension. So I installed the GEOM and
> rebuilt the PostGIS, now I am getting the following error:
>
> the PostGIS is running in Linux.
>
>
> any help will be appreciated!.
>
>
>
>
> The following exception was thrown:
>
> class java.io.IOException: An SQL exception occurred: ERROR: could not load
> library "/usr/lib64/pgsql/liblwgeom.so": libgeos_c.so.1: cannot open shared
> object file: No such file or directory
>
> Details:
>
> java.io.IOException: An SQL exception occurred: ERROR: could not load
> library "/usr/lib64/pgsql/liblwgeom.so": libgeos_c.so.1: cannot open shared
> object file: No such file or directory
> 	at
> org.geotools.data.postgis.PostgisDataStore.getGeometryAttribute(PostgisDataStore.java:1124)
>
>
> 	at
> org.geotools.data.postgis.PostgisDataStore.buildAttributeType(PostgisDataStore.java:994)
> -----
>
>
> Thanks!
>
> Giri
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>



More information about the postgis-users mailing list