<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 10:52 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Thu, Oct 29, 2015 at 10:49 AM, Paulo van Breugel<br>
<<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br>
> Hi, I am trying to make a fresh install of GRASS master, something I do<br>
> routinely about every week (on Ubuntu 14.04).<br>
</span>...<br>
> --with-pthread<br>
<br>
(not sure if you want that, see other discussions here)<br></blockquote><div><br></div><div>Yes, because of that discussion I had added that to see if it would give any problem. None that I have noticed by the way. I will probably remove it though.<br><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
...<br>
>> checking for gdal-config... /usr/local/bin/gdal-config<br>
>> configure: error: *** Unable to locate GDAL library.<br>
<br>
</span>As usual, check config.log for the problem.<br></blockquote><div><br></div><div>I do not really understand the log info, but I guess the below is the relevant part?<br><br>configure:6098:9: warning: ignoring return value of 'GDALOpen', declared with attribute warn_unused_result [-Wunused-result]<br> GDALOpen("foo", GA_ReadOnly);<br>         ^<br>/usr/bin/ld: warning: libgrass_vector.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_dig2.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_dgl.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_rtree.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_linkm.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_dbmiclient.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_dbmibase.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_raster.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_imagery.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_gproj.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_gis.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libgrass_datetime.so, needed by /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)<br>/usr/local/gdal/lib/libgdal.so: undefined reference to `Rast_map_type'<br>/usr/local/gdal/lib/libgdal.so: undefined reference to `Rast_get_fp_color_rule'<br></div><div>... <br></div><div>...<br>/usr/local/gdal/lib/libgdal.so: undefined reference to `Vect_new_line_struct'<br>collect2: error: ld returned 1 exit status<br>configure: failed program was:<br>#line 6095 "configure"<br>#include "confdefs.h"<br>#include <gdal.h><br>int main() {<br>GDALOpen("foo", GA_ReadOnly);<br>; return 0; }<br>configure:6118: gcc -o conftest -g -O2  -I/usr/local/gdal/include   -Wl,--export-dynamic  -L/lib64 conftest.c  -L/usr/local/gdal/lib -lgdal -lproj -lfreexl -lm -L/usr/lib -lgeos_c -lodbc -lodbcinst -lkmldom -lkmlbase -lkmlengine -lkmlconvenience -lminizip -luriparser -lexpat -ljasper -lnetcdf -lhdf5 -lmfhdf -ldf -logdi -L/usr/local/grass7/grass-7.1.svn/lib -lgrass_vector -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_raster -lgrass_imagery -lgrass_gproj -lgrass_gmath -lgrass_gis -lgrass_datetime -L/usr/lib -lpq -lz -lpthread -lm -lrt -ldl -lspatialite -lsqlite3 -lpcre -L/usr/lib/x86_64-linux-gnu -lcurl -lxml2 1>&5<br>configure: In function 'main':<br>configure:6114:9: warning: ignoring return value of 'GDALOpen', declared with attribute warn_unused_result [-Wunused-result]<br> GDALOpen("foo", GA_ReadOnly);<br>         ^<br>/usr/bin/ld: cannot find -lgrass_vector<br>/usr/bin/ld: cannot find -lgrass_dig2<br>/usr/bin/ld: cannot find -lgrass_dgl<br>/usr/bin/ld: cannot find -lgrass_rtree<br>/usr/bin/ld: cannot find -lgrass_linkm<br>/usr/bin/ld: cannot find -lgrass_dbmiclient<br>/usr/bin/ld: cannot find -lgrass_dbmibase<br>/usr/bin/ld: cannot find -lgrass_raster<br>/usr/bin/ld: cannot find -lgrass_imagery<br>/usr/bin/ld: cannot find -lgrass_gproj<br>/usr/bin/ld: cannot find -lgrass_gmath<br>/usr/bin/ld: cannot find -lgrass_gis<br>/usr/bin/ld: cannot find -lgrass_datetime<br>collect2: error: ld returned 1 exit status<br>configure: failed program was:<br>#line 6111 "configure"<br>#include "confdefs.h"<br>#include <gdal.h><br>int main() {<br>GDALOpen("foo", GA_ReadOnly);<br>; return 0; }<br><br></div><div><br><br><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br></div></div>