<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ari,<br>
<br>
Thank you for the response. <br>
<br>
Correct, I had not run "make install" on GEOS. Since I am building
GDAL without installing, I wanted to build GEOS the same. This
evidently results in GDAL not finding GEOS. Running "make install"
on GEOS, prior to building GDAL, correctly identifies GEOS support
(confirmed GDAL configure output).<br>
<br>
I am running into a second issue and not sure if anyone on the list
has ever attempted this. I am static linking libgdal.a to my app
(no problem here) and am having difficulty static linking
libgeos_c.a and libgeos.a. I've tried copying the .a files to the
working dir and have also tried using those in /usr/local/lib (put
there by make install). Still get unresolved references.<br>
<br>
I am assuming it is possible since static libraries for GEOS are
created. Do you know of any problems static linking?<br>
<br>
Once again thanks!<br>
<br>
- Kelly<br>
<br>
<br>
<br>
<br>
On 05/18/2016 02:03 AM, Ari Jolma wrote:
<blockquote cite="mid:573C0595.4000100@gmail.com" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
18.05.2016, 00:57, William Kelly Magee kirjoitti:<br>
<blockquote cite="mid:573B93B2.3020202@leidos.com" type="cite"> <font
size="+1">Hello<br>
<br>
I am trying to build GDAL with GEOS support on RHEL 6 (64-bit)
and am getting nowhere fast!<br>
<br>
I've been using the OGR api from gdal-1.11.1 for over a year
with excellent results and now need to use the geometry
methods that are only available with the inclusion of GEOS
(else the message ERROR 6: GEOS support not enabled").<br>
<br>
I've built geos-3.1.0 and the set the GDAL configure option
"--with-geos" to point to "geos-config". Initially this did
not work as gdal configure was attempting to execute
"geos-config" which did not have execute permission (doing a
chmod 777 on "geos-config" resolved this). <br>
<br>
GDAL builds fine and appears to partially recognize GEOS
availability but cannot confirm "GEOSversion" in geos_c. The
following two lines are output from gdal configure;</font><font
size="+1"><br>
<br>
checking for GEOS version >= 3.1.0... yes</font><font
size="+1"><br>
checking for GEOSversion in -lgeos_c... no</font><br>
<font size="+1"><br>
At this point it looked like a search issue so I've updated
the PATH and LIBRARY_PATH env vars to point to the geos
"capri" directory containing "libgeos_c.la". Still no luck.
Have tried copying libgeos_c.la to the gdal folder and
/usr/local/lib but still no luck. <br>
<br>
Going through the list I see where others have run across
similar but not the same problem. <br>
<br>
</font><font size="+1">Does anyone have any suggestions on how
to resolve this?</font><font size="+1"><br>
</font></blockquote>
<br>
Kelly,<br>
<br>
I've never come across problems like this with GEOS and GDAL. If
GEOS is in usual place (/usr/local/lib for example) GDAL configure
picks it up by default.<br>
<br>
It sounds a bit like you did not install GEOS. Did you issue "make
install" after building GEOS?<br>
<br>
Ari<br>
<br>
<blockquote cite="mid:573B93B2.3020202@leidos.com" type="cite"><font
size="+1"> <br>
Thanks,<br>
<br>
Kelly</font><br>
<div class="moz-signature">
<div id="TextSection" dir="LTR"> </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">N�n�r����)em�h�yhiם�w^��</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div id="TextSection" dir="LTR"> <br>
<br>
<p style="margin-bottom: 0.14in; line-height: 100%"> <font
color="#201747"><font face="Arial, serif"><font size="3"> <b>William
Kelly Magee | Leidos</b> </font></font></font> </p>
<p style="margin-bottom: 0in"> <font color="#808080"><font
face="Arial, serif"><font style="font-size: 9pt" size="3">
<b>Senior Software Engineer | Maritime Solutions
Division</b> </font></font></font> </p>
<p style="margin-bottom: 0in"> <font style="font-size: 9pt"
color="#808080" face="Arial, serif" size="2"> phone:
401.847.4210<br>
</font> <font color="#0000ff"> <span lang="zxx"><u><a
href="mailto:william.kelly.magee@leidos.com"> </a></u></span></font><u><a
href="mailto:william.kelly.magee@leidos.com"> <font
style="font-size: 9pt" color="#808080" face="Arial,
serif" size="2">william.kelly.magee@leidos.com</font> </a></u>
<font style="font-size: 9pt" color="#808080" face="Arial,
serif" size="2"> | </font> <font color="#0000ff"> <span
lang="zxx"><u><a href="http://www.leidos.com/natsec"> <font
style="font-size: 9pt" color="#808080" face="Arial,
serif" size="2">leidos.com/natsec</font> </a></u></span>
</font> </p>
<p style="margin-right: 3.5in; margin-bottom: 0in; line-height:
150%"> <br>
</p>
<p style="margin-right: 3.5in; margin-bottom: 0.17in;
line-height: 100%"> <img
src="cid:part6.07040206.08010502@leidos.com"> </p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"><font
style="font-size: 8pt" color="#808080" face="Arial, serif"
size="1"> This email and any attachments to it are intended
only for the identified recipients. It may contain
proprietary or otherwise legally protect ed information of
Leidos. Any unauthorized use or disclosure of this
communication is strictly prohibited. If you have received
this communic ation in error, please notify the sender and
delete or otherwise destroy the email and all attachments
immediately. </font> </p>
<p style="margin-top: 0.07in; margin-bottom: 0.07in"> <br>
<br>
</p>
</div>
</div>
</body>
</html>