[postgis-users] postgis libraries not found

Torsten Lange tlange at gwdg.de
Wed Jan 7 00:24:04 PST 2009


Hello Peter,

yes, it was the ldconfig issue! I indeed invoked it, but (as I learned 
now) it just looks in /usr/lib... not in /usr/local/lib.

Thank you, Torsten

Peter N. Schweitzer schrieb:

> tlange at gwdg.de wrote:
>
>> Fehler = Error: could not load library: »/usr/lib/pgsql/liblwgeom.so«:
>> libgeos_c.so.1: cannot open shared object file: File or directory not
>> found.
>>
>> However, /usr/lib/pgsql/liblwgeom.so exists and libgeos_c.so.1 is in
>> /usr/local/lib. Postgis configure script has found the paths for geos 
>> and
>> proj.
>
>
> Torsten,
>
> My first guess is that you need to run ldconfig so that the system 
> will know where to find libgeos_c.so.
>
> You probably know to do createlang plpgsql <dbname> before loading 
> lwpostgis.sql,
> but if you had skipped that step, that could cause trouble too.
>
> Peter





More information about the postgis-users mailing list