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

Jeshua Lacock jeshua at 3DTOPO.com
Tue Apr 1 22:48:31 PDT 2008


On Apr 1, 2008, at 11:39 PM, Paragon Corporation wrote:

> /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
>
> When I run
> select postgis_full_version()
>
> (or any postgis function for that matter)


Hi Regina,

Looks like PostGIS needs to be linked against the Geos library.

When you run configure use the "--with-geos=" directive, and point it  
to the full path of where "geos-config" is located. For example, if  
geos is installed to /usr/local, the configure option might look  
something like this:

	--with-geos=/usr/local/bin/geos-config

Hope this helps.


Regards,

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




More information about the postgis-users mailing list