<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>GEOS Installation Testing Help</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hello everyone.</FONT>
</P>

<P><FONT SIZE=2>This is in response to the thread:</FONT>
</P>

<P><FONT SIZE=2>RE: [postgis-users] Will someone compile PostGIS 0.8.0 and PostgreSQL 7.4 for Win32 and want to share it?</FONT>
</P>

<P><FONT SIZE=2>I have tried multiple times to post to this thread, but something stops me. So, I have to start a new thread.</FONT>
</P>

<P><FONT SIZE=2>I have been following this post and decided to see if my GEOS was </FONT>
<BR><FONT SIZE=2>working properly with PostgreSQL. </FONT>
</P>

<P><FONT SIZE=2>I tried; </FONT>
</P>

<P><FONT SIZE=2>SELECT geomunion( </FONT>
<BR><FONT SIZE=2>        'GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(1 1))', </FONT>
<BR><FONT SIZE=2>        'POINT(0 0)' </FONT>
<BR><FONT SIZE=2>); </FONT>
</P>

<P><FONT SIZE=2>and I received this error; </FONT>
</P>

<P><FONT SIZE=2>NOTICE:  IllegalArgumentException: This method does not support </FONT>
<BR><FONT SIZE=2>GeometryCollection arguments </FONT>
<BR><FONT SIZE=2>ERROR:  GEOS union() threw an error! </FONT>
</P>

<P><FONT SIZE=2>PostgreSQL isn't affected by the error. </FONT>
</P>

<P><FONT SIZE=2>Ok, but the thing is, the PostgreSQL I'm running is the default 7.3.4 </FONT>
<BR><FONT SIZE=2>PostgreSQL installed fresh from CD when I installed RedHat 9 (with the </FONT>
<BR><FONT SIZE=2>latest RedHat RPM updates). Here is some info on my database; </FONT>
</P>

<P><FONT SIZE=2>SELECT version(); </FONT>
</P>

<P><FONT SIZE=2>PostgreSQL 7.3.4 on i386-redhat-linux-gnu, compiled by GCC </FONT>
<BR><FONT SIZE=2>i386-redhat-linux-gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) </FONT>
</P>

<P><FONT SIZE=2>ldd /usr/bin/postmaster </FONT>
</P>

<P><FONT SIZE=2>libpam.so.0 => ... </FONT>
<BR><FONT SIZE=2>libssl.so.4 => ... </FONT>
<BR><FONT SIZE=2>... </FONT>
<BR><FONT SIZE=2>libc.so.6   => /lib/tls/libc.so.6 </FONT>
</P>

<P><FONT SIZE=2>I have no linking to libstdc++ with postmaster. When I compile and install PostGIS and Geos I compile PostgreSQL from source adding the LDFLAGS=-lstdc++ (only make, not make install). I then </FONT></P>

<P><FONT SIZE=2>compile and install Geos and PostGIS into their own directories and use </FONT>
<BR><FONT SIZE=2>them with PostgreSQL. So how can Geos work with a PostgreSQL that has no </FONT>
<BR><FONT SIZE=2>link to c++, unless Geos just needs it to compile and install, not run? </FONT>
</P>

<P><FONT SIZE=2>I have used other Geos functions with success. Any other queries that </FONT>
<BR><FONT SIZE=2>would differentiate between a working and non-working Geos? </FONT>
</P>

<P><FONT SIZE=2>Thank you for anyone with ideas/information to this. </FONT>
</P>

<P><FONT SIZE=2>Darren H.</FONT>
</P>

</BODY>
</HTML>