[postgis-users] compiling agains GEOS-3.1.1

InterRob rob.marjot at gmail.com
Fri Sep 11 07:33:51 PDT 2009


Dear list,

I succesfully "./configure && make && make install"-ed GEOS 3.1.1; freshly
downloaded from their site.

When configuring the postgis package I run into the following:

-------------cut----------------
[...]
checking for pg_config... /usr/bin/pg_config
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for PQserverVersion in -lpq... yes
checking for geos-config... /usr/local/bin/geos-config
checking geos_c.h usability... yes
checking geos_c.h presence... yes
checking for geos_c.h... yes
*checking for initGEOS in -lgeos_c... no
configure: error: could not find libgeos_c - you may need to specify the
directory of a geos-config file using --with-geosconfig*
-------------cut----------------

geos-config is indeed found in /usr/local/bin/; when executing
"./geos-config --libs" I get the following:
-L/usr/local/lib -lgeos

This seems to make sense since: the following files are available in this
directory (/usr/local/lib):
libgeos-3.1.1.so  libgeos.a  libgeos_c.a  libgeos_c.la  libgeos_c.so
libgeos_c.so.1  libgeos_c.so.1.6.0  libgeos.la  libgeos.so  python2.5
site_ruby

I'm running on Ubuntu 8.04.1 (Hardy Heron)

All help is very much appreciated!


Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090911/7638c065/attachment.html>


More information about the postgis-users mailing list