From: Sandro Santilli Date: Thu, 20 Nov 2003 16:46:22 +0000 (+0000) Subject: postgresql linking against libstdc++ reported as possibly needed for geos support X-Git-Tag: pgis_0_8_0~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=357aab4a86e05ecf5d5d1d316ca7846b1d3b6f54;p=postgis postgresql linking against libstdc++ reported as possibly needed for geos support git-svn-id: http://svn.osgeo.org/postgis/trunk@378 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/postgis.xml b/doc/postgis.xml index ccf7ad34b..ad16f5a75 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -152,6 +152,19 @@ Before you can compile the postgis server modules, you must compile and install the PostgreSQL package. + NOTE: if you plan to use GEOS + functionality you might need to link PostgreSQL against + the standard C++ library: + + + LDFLAGS=-lstdc++ ./configure YOUR_OPTIONS_HERE + + + This is a workaround for bogus C++ exceptions interaction + with older development tools. + If you experience weird problems (backend unexpectedly + closed or similar things) try that. + Retrieve the PostGIS source archive from @@ -188,7 +201,7 @@ have the GEOS library installed, set the USE_GEOS variable to 1, and eventually adjust GEOS_DIR to point to - your GEOS installation directory. + your GEOS installation directory.