[postgis-users] Problems installing PostGIS on Red Hat EL 5

Jeshua Lacock jeshua at 3DTOPO.com
Tue Apr 1 23:51:59 PDT 2008


On Apr 1, 2008, at 11:39 PM, Paragon Corporation wrote:
> ERROR:  could not load library "/usr/lib/pgsql/liblwgeom.so":
> /usr/lib/pgsql/liblwgeom.so: undefined symbol:  
> GEOSTopologyPreserveSimplify
> CONTEXT:  SQL statement "SELECT postgis_lib_version()"
> PL/pgSQL function "postgis_full_version" line 11 at SQL statement

On Apr 2, 2008, at 12:28 AM, Paragon Corporation wrote:

> ./configure --with-pgsql=/usr/bin/pg_config  --with-geos=
> /usr/local/bin/geos-config



Run 'otool -L' on liblwgeom to see if it is linked to geos:

	otool -L /usr/lib/pgsql/liblwgeom.so | grep libgeos

You should see a line with (Or something similar):

	/usr/local/lib/libgeos_c.1.so (compatibility version 6.0.0, current  
version 6.1.0)

If you don't see it needs to be linked to it.

P.S. I am on Mac OS X, so I am not sure if RedHat has otool, but I  
think it does...


Yours,

Jeshua Lacock
Founder/Programmer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 877.240.1364




More information about the postgis-users mailing list