[postgis-devel] Re: [postgis-users] GEOS crashing PostgreSQL?
strk at refractions.net
strk at refractions.net
Wed Oct 25 06:12:54 PDT 2006
On Wed, Oct 25, 2006 at 03:00:43PM +0200, Markus Schaber wrote:
> Hi, Strk,
>
> strk at refractions.net wrote:
>
> >> That fixes the regression tests on AMD64, at least against GEOS 2.2.1 (I
> >> don't have 2.2.3 around yet.)
> >
> > Cool, can you now try to get a segfault by runnign it against GEOS-3.0.0-RC1?
> > (it will help verifying the bug is fixed in geos TRUNK)
>
> I tried to, but I cannot get liblwgeom.so to link against it.
>
> Despite the fact that I run
> ./configure --with-geos=/home/schabi/postgis/geosbin/bin/geos-config
> --with-geos-libdir=/home/schabi/postgis/geosbin/lib
> ldd insists that liblwgeom.so links to /usr/lib/libgeos_c.so.1
>
> Setting LD_LIBRARY_PATH fixes ldd output, but I cannot do that as there
> are other developers on the same postmaster.
Maybe you can run a postgresql instance on a separate port/data dir ?
LD_LIBRARY_PATH=... pg_ctl <opts> start
> Btw, when compiling, I get the following warnings:
> In file included from lwgeom_geos_c.c:10:
> /home/schabi/postgis/geosbin//include/geos_c.h:310: warning: type
> qualifiers ignored on function return type
> /home/schabi/postgis/geosbin//include/geos_c.h:323: warning: type
> qualifiers ignored on function return type
> /home/schabi/postgis/geosbin//include/geos_c.h:330: warning: type
> qualifiers ignored on function return type
> /home/schabi/postgis/geosbin//include/geos_c.h:339: warning: type
> qualifiers ignored on function return type
> lwgeom_geos_c.c: In function 'ptarray_from_GEOSCoordSeq':
> lwgeom_geos_c.c:2252: warning: passing argument 2 of
> 'GEOSCoordSeq_getSize' from incompatible pointer type
> lwgeom_geos_c.c:2261: warning: passing argument 2 of
> 'GEOSCoordSeq_getDimensions' from incompatible pointer type
These seems very helpful in reverting the incompatible changes
in geos..
--strk;
More information about the postgis-devel
mailing list