Ah yes, almost forgot. I'm using PostGIS 1.4.0 and Geos 3.1.1. My linux version is CentOS release 4.2 (Final).
I followed the Geos installation from MapServer's Verbose Linux Installation (http://marwp.cla.umn.edu/gis/docs/verbose_install.html), and everything went well. I also ran postgis isntaller from /usr/local/postgresql-8.3.5/contrib/postgis-1.4.0. What's wrong? --- On Tue, 11/17/09, [email protected] <[email protected]> wrote: > From: [email protected] <[email protected]> > Subject: [postgis-users] Why can't PostGIS ./configure find libgeos_c ?? > To: [email protected] > Date: Tuesday, November 17, 2009, 7:08 AM > I'm compiling PostGIS with the > following command: > ./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config > --with-geosconfig=/usr/local/bin/geos-config > > Yet I keep getting this error message: > 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: > #!/bin/sh > prefix=/usr/local > exec_prefix=${prefix} > libdir=/usr/local/lib > > What happens? What should I do? I have tried everything ad > nauseam, yet the error message keeps showing up. Help!!! > > -Kresh > > > > > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users > _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
