Dear list,<br><br>I succesfully "./configure && make && make install"-ed GEOS 3.1.1; freshly downloaded from their site.<br><br>When configuring the postgis package I run into the following:<br><br>
<span style="font-family: courier new,monospace;">-------------cut----------------<br></span>[...]<br><span style="font-family: courier new,monospace;">checking for pg_config... /usr/bin/pg_config</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking libpq-fe.h usability... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking libpq-fe.h presence... yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for libpq-fe.h... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for PQserverVersion in -lpq... yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for geos-config... /usr/local/bin/geos-config</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking geos_c.h usability... yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking geos_c.h presence... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for geos_c.h... yes</span><br style="font-family: courier new,monospace;">
<b><span style="font-family: courier new,monospace;">checking for initGEOS in -lgeos_c... no</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">configure: error: could not find libgeos_c - you may need to specify the directory of a geos-config file using --with-geosconfig</span></b><br>
<span style="font-family: courier new,monospace;">-------------cut----------------</span><br><br>geos-config is indeed found in /usr/local/bin/; when executing "./geos-config --libs" I get the following:<br>-L/usr/local/lib -lgeos<br>
<br>This seems to make sense since: the following files are available in this directory (/usr/local/lib):<br><span style="font-family: courier new,monospace;"><a href="http://libgeos-3.1.1.so">libgeos-3.1.1.so</a>  libgeos.a  libgeos_c.a  <a href="http://libgeos_c.la">libgeos_c.la</a>  libgeos_c.so  libgeos_c.so.1  libgeos_c.so.1.6.0  <a href="http://libgeos.la">libgeos.la</a>  libgeos.so  python2.5  site_ruby</span><br>
<br>I'm running on Ubuntu 8.04.1 (Hardy Heron)<br><br>All help is very much appreciated!<br><br><br>Rob<br>