Re: ERROR after geos install
Paragon Corporation <lr <at> pcorp.us>
2010-03-15 07:33:15 GMT
I think this is a fairly common problem.
Most likely your liblwgeom.so is looking for geos in the wrong place or is
pointing at an older version of geos.
ldd -d /usr/local/lib/liblwgeom.so
or just to show the geos bindings
ldd -d /usr/local/lib/liblwgeom.so | grep libgeos
This will give you a clue where liblwgeom is looking. Most likely it will
give a missing or something like that
Then you can symlink to the right location something like:
#To remove existing
#to link to right one -- change this accordingly to where you have geos
ln -s /usr/local/lib/libgeos_c.so.1.6.0 /usr/lib/libgeos_c.so.1
Hope that helps,
Leo and Regina
From: postgis-users-bounces <at> postgis.refractions.net
[mailto:postgis-users-bounces <at> postgis.refractions.net] On Behalf Of Pedro
Sent: Sunday, March 14, 2010 9:55 PM
To: postgis-users <at> postgis.refractions.net
Subject: [postgis-users] ERROR after geos install
Hi, I'm writing to ask for help with some misbehaviour of my postgis
database, after installing geos from EPEL on a Centos 5.2 server, getting
"ERROR: could not load library "/usr/local/lib/liblwgeom.so":
libgeos_c.so.1: cannot open shared object file: No such file or directory"
I have already removed geos, and confirmed that the file exists with
Thank you in advance.