[postgis-users] Re: Further PostGIS / GEOS problems

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu Nov 2 09:38:48 PST 2006

Hi Nick,

On Thu, 2006-11-02 at 17:02 +0000, Nick Black wrote:
> To follow up...
> I posted a bit too quickly - I was missing a c++ compiler.  However,
> I'm not in the clear yet - I still have these errors when running
> configure:
> checking for iconv_open in -liconv... no
> checking for libiconv_open in -liconv... no

But that's fine since configure later goes on to detect iconv.h and also
reports the following:

checking for iconv_open in -lc... yes

So iconv is being detected without any problems.


> Locate:
> locate liblwgeom.so.1.1
> /usr/lib/liblwgeom.so.1.1

Hmmm this is strange because $libdir should be set to the output of
"/usr/bin/pg_config --libdir" since liblwgeom.so.1.1 needs to be in the
PostgreSQL lib directory, not the system lib directory.

> >  ./configure --prefix=/usr --with-pgsql=/usr/bin/pg_config
> > --with-geos=/usr/bin/geos-config --with-proj=/usr

(looks closer)... can you try running configure without the --prefix
option? I think this is what is causing liblwgeom.so.1.1 to be installed
in the wrong location, e.g. just:

./configure --with-pgsql=/usr/bin/pg_config
--with-geos=/usr/bin/geos-config --with-proj=/usr

Kind regards,


More information about the postgis-users mailing list