<div dir="ltr"><div><div><div><div><div>May be I have found a clue about the issue.<br><br></div>Looking at the config.log I have found these rows:<br><br>| #define HAVE_GDAL_H 1<br>| #define HAVE_OGR_API_H 1<br>| #define HAVE_CPL_CONV_H 1<br>| /* end confdefs.h. */<br>| <br>| /* Override any GCC internal prototype to avoid an error.<br>| Use char because int might match the return type of a GCC<br>| builtin and then its argument prototype would still apply. */<br>| #ifdef __cplusplus<br>| extern "C"<br>| #endif<br>| char GDALAllRegister ();<br>| int<br>| main ()<br>| {<br>| return GDALAllRegister ();<br>| ;<br>| return 0;<br>| }<br>configure:20670: gcc -o conftest -I/usr/local/include conftest.c -lgdal -L/usr/local/lib -lgdal >&5<br>//home/stefano/arcsdetools/sdeexe102/lib/libsde.so: undefined reference to `pthread_atfork'<br>collect2: error: ld returned 1 exit status<br>configure:20670: $? = 1<br><br></div>could this error be the cause of the previous one?<br><br></div>I can't remember exactly when I installed the ArcSDE SDK and then recompiled GDAL but I am pretty sure it was after compiling PostGIS 2.1.5<br><br></div>Thanks again<br><br></div>Stefano<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">---------------------------------------------------<br>41.95581N 12.52854E<br><br><br><a href="http://www.linkedin.com/in/stefanoiacovella" target="_blank">http://www.linkedin.com/in/stefanoiacovella</a><br><br><a href="http://twitter.com/#!/Iacovellas" target="_blank">http://twitter.com/#!/Iacovellas</a></div></div>
<br><div class="gmail_quote">2015-03-25 12:51 GMT+01:00 Stefano Iacovella <span dir="ltr"><<a href="mailto:stefano.iacovella@gmail.com" target="_blank">stefano.iacovella@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div>sorry for the cross-posting, I am not sure whether the issue is more relevant to GDAL or PostGIS.<br><br></div>I tried to compile PostGIS 2.1.6 on my Linux Box but the first step end with an error:<br><br>~/sources/postgis-2.1.6 $ ./configure --with-gui<br>...<br>TOPOLOGY: Topology support requested<br>RASTER: Raster support requested<br>checking for gdal-config... /usr/local/bin/gdal-config<br>checking GDAL version... 1.11.2<br>checking for OGR enabled... yes<br>checking gdal.h usability... yes<br>checking gdal.h presence... yes<br>checking for gdal.h... yes<br>checking ogr_api.h usability... yes<br>checking ogr_api.h presence... yes<br>checking for ogr_api.h... yes<br>checking cpl_conv.h usability... yes<br>checking cpl_conv.h presence... yes<br>checking for cpl_conv.h... yes<br>checking for library containing GDALAllRegister... no<br>configure: error: could not find GDAL<br><br></div>It is the same Linux Box, Mint 17, on which I had previously successfully configured and compiled PostGIS 2.1.5 on GDAL 1.11.1 <br></div>The upgrade to GDAL 1.11.2 was done after the compilation of PostGIS 2.1.5 so I guess the problem may be related to this release.<br></div>I have in fact also tried to use the same configure command on sources for PostGIS 2.1.5 but got the same error.<br><br></div>Am I doing something wrong or is it a bug?<br><br></div>Thank you in advance for your help<br><br></div>Stefano<br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><div>---------------------------------------------------<br>41.95581N 12.52854E<br><br><br><a href="http://www.linkedin.com/in/stefanoiacovella" target="_blank">http://www.linkedin.com/in/stefanoiacovella</a><br><br><a href="http://twitter.com/#!/Iacovellas" target="_blank">http://twitter.com/#!/Iacovellas</a></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br></div>