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

Nick Black nickblack1 at gmail.com
Thu Nov 2 09:46:25 PST 2006


Bingo.  Thanks a lot - changing the configure options seems to have
worked -  now get


 POSTGIS="1.1.5" GEOS="2.1.4" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS

Thanks for the help

Nick

On 11/2/06, Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk> wrote:
> 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.
>
> (cut)
>
> > 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,
>
> Mark.
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list