I got the same problem.<br><br>OS:CentOS 5.2<br>PostgreSQL:8.2.6<br>Geos:3.0.0<br>proj:4.6.0<br>postgis:1.3.2<br><br>A few months ago,i installed them successully on Fedora 7,now a error boked when i installed on CentOS:<br>
<br><span style="color: rgb(255, 0, 0);">ERROR:  could not load library "/usr/local/postgis/lib/liblwgeom.so": libgeos_c.so.1:</span><br style="color: rgb(255, 0, 0);"><pre style="color: rgb(255, 0, 0);">cannot open shared object file: No such file or directory</pre>
But the file liblwgeom.so was existed surely in /usr/local/postgis/lib, i added /usr/local/postgis/lib to /etc/ld.conf.d/local.conf and execute ldconfig ,final restart postgresql ,but the error still exist.<br><br><div class="gmail_quote">
2009/2/25 Eduin Yezid Carrillo Vega <span dir="ltr"><<a href="mailto:yecarrillo@gmail.com">yecarrillo@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Add this line to /etc/ld.so.conf.d/local.conf    :<br>
/usr/lib64/pgsql/<br>
<br>
And then run:<br>
ldconfig<br>
<br>
Eduin Yesid Carrillo Vega<br>
Ingeniero Civil, Esp. Sistemas de Información Geográfica<br>
Centro de Investigación y Desarrollo en Información Geográfica<br>
Instituto Geográfico Agustín Codazzi - IGAC<br>
Cr 30 48-51<br>
Tel +57 1 3694000  ext 4603<br>
Bogotá D.C., Colombia<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Tue, Feb 24, 2009 at 12:39 PM, Giri <<a href="mailto:giriprakash@gmail.com">giriprakash@gmail.com</a>> wrote:<br>
> HI,<br>
><br>
> I  recently installed the PostGIS to use it with Geoserver, the project that<br>
> uses the PostGIS needs the GEOM extension. So I installed the GEOM and<br>
> rebuilt the PostGIS, now I am getting the following error:<br>
><br>
> the PostGIS is running in Linux.<br>
><br>
><br>
> any help will be appreciated!.<br>
><br>
><br>
><br>
><br>
> The following exception was thrown:<br>
><br>
> class java.io.IOException: An SQL exception occurred: ERROR: could not load<br>
> library "/usr/lib64/pgsql/liblwgeom.so": libgeos_c.so.1: cannot open shared<br>
> object file: No such file or directory<br>
><br>
> Details:<br>
><br>
> java.io.IOException: An SQL exception occurred: ERROR: could not load<br>
> library "/usr/lib64/pgsql/liblwgeom.so": libgeos_c.so.1: cannot open shared<br>
> object file: No such file or directory<br>
>       at<br>
> org.geotools.data.postgis.PostgisDataStore.getGeometryAttribute(PostgisDataStore.java:1124)<br>
><br>
><br>
>       at<br>
> org.geotools.data.postgis.PostgisDataStore.buildAttributeType(PostgisDataStore.java:994)<br>
> -----<br>
><br>
><br>
> Thanks!<br>
><br>
> Giri<br>
><br>
</div></div>> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>