Code: Select all
./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config --with-geosconfig=/usr/local/bin/geos-config
Yet I keep getting this error message:
Code: Select all
configure: error: could not find libgeos_c - you may need to specify the directory of a geos-config file using --with-geosconfig
The problem is: libgeos_c.so does indeed exist in the /usr/local/lib/. Also, geos-config points to the right direction. Here is the first four lines of geos-config:
Code: Select all
#!/bin/sh
prefix=/usr/local
exec_prefix=${prefix}
libdir=/usr/local/lib
Furthermore, I have checked /etc/ld.so.conf, and /usr/local/lib exists in the file:
Code: Select all
include ld.so.conf.d/*.conf
/usr/local/lib
/usr/local/BerkeleyDB.4.7/lib
I also have run ldconfig ad nauseam.
By the way, I'm using PostGIS 1.4.0 and Geos 3.1.1. My linux version is CentOS release 4.2 (Final). What happens?