<div dir="ltr">Hi David,<div><br></div><div>Did you updated LD_LIBRARY_PATH to find your local gdal. In your case</div><div><br></div><div>try export LD_LIBRARY_PATH=/usr/local/lib</div></div><div class="gmail_extra"><br><br>

<div class="gmail_quote">On Thu, Apr 10, 2014 at 10:31 PM, David Strom <span dir="ltr"><<a href="mailto:dstrom@ciesin.columbia.edu" target="_blank">dstrom@ciesin.columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I'm on a Centos 6.4 system. We need BigTiff support, so the Elgis versions don't work for us.<br>
<br>
So, I've built libgeotiff using libtiff4 (from elgis repo), then built gdal (/usr/local/bin/gdalinfo --version GDAL 1.9.2, released 2012/10/08); did the make installs into /usr/local for both, of course.<br>
<br>
Now having problems with Grass 7.0 Beta1, at compile time (make).  Seems like it's not finding gdal lib:<br>
<br>
in display subdirectory :<br>
<br>
... error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory<br>
<br>
then again in general subdir, so I notice the pattern & look for that lib:<br>
<br>
find /usr/local -name libgdal.so.1 -print<br>
/usr/local/lib/libgdal.so.1<br>
/usr/local/share/gdal-trunk/.<u></u>libs/libgdal.so.1<br>
/usr/local/hidelib/libgdal.so.<u></u>1<br>
<br>
Any help on how to get past this?<br>
<br>
This the configure I'm using, from the suggested:<br>
<br>
./configure \<br>
 --with-libs=/usr/lib64 \<br>
 --with-cxx \<br>
 --without-ffmpeg \<br>
 --with-gdal=/usr/local/bin/<u></u>gdal-config \<br>
 --without-odbc \<br>
 --with-sqlite \<br>
 --with-postgres \<br>
 --without-mysql \<br>
 --with-nls \<br>
 --with-python \<br>
 --with-cairo \<br>
 --with-wxwidgets=/usr/bin/wx-<u></u>config \<br>
 --without-fftw \<br>
 --with-freetype --with-freetype-includes=/usr/<u></u>include/freetype2 \<br>
 --enable-largefile \<br>
 --with-pthread<br>
<br>
<br>
/usr/local/bin/gdal-config is this:<br>
<br>
 more /usr/local/bin/gdal-config<br>
#!/bin/sh<br>
CONFIG_LIBS="-L/usr/local/lib -lgdal"<br>
CONFIG_DEP_LIBS="  -lsqlite3 -lexpat -lgeotiff -ltiff -lpng -L/usr/lib64 -lpq -lz -lpthread -lm -lrt -ldl    -lcurl             "<br>
CONFIG_PREFIX="/usr/local"<br>
CONFIG_CFLAGS="-I/usr/local/<u></u>include"<br>
CONFIG_DATA="/usr/local/share/<u></u>gdal"<br>
CONFIG_VERSION="1.9.2"<br>
CONFIG_OGR_ENABLED=yes<br>
CONFIG_FORMATS="gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk<br>
airsar rs2 ilwis rmf leveller sgi srtmhgt idrisi gsg ingr ers jaxapalsar dimap gff cosar pds adrg coasp tsx terragen blx msgn til r northwoo<br>
d saga xyz hf2 kmlsuperoverlay ozi ctg e00grid zmap ngsgeoid wcs wms grib bsb gif jpeg png pcraster  rik rasterlite postgisraster"<br>
usage()<br>
{<br>
        cat <<EOF<br>
Usage: gdal-config [OPTIONS]<br>
Options:<br>
        [--prefix[=DIR]]<br>
        [--libs]<br>
        [--dep-libs]<br>
        [--cflags]<br>
        [--datadir]<br>
        [--version]<br>
        [--ogr-enabled]<br>
        [--formats]<br>
EOF<br>
        exit $1<br>
}<br>
<br>
if test $# -eq 0; then<br>
        usage 1 1>&2<br>
fi<br>
<br>
case $1 in<br>
  --libs)<br>
    echo $CONFIG_LIBS<br>
    ;;<br>
<br>
  --dep-libs)<br>
    echo $CONFIG_DEP_LIBS<br>
    ;;<br>
<br>
  --cflags)<br>
    echo $CONFIG_CFLAGS<br>
    ;;<br>
<br>
  --datadir)<br>
    echo $CONFIG_DATA<br>
    ;;<br>
<br>
  --prefix)<br>
    echo $CONFIG_PREFIX<br>
    ;;<br>
<br>
  --version)<br>
    echo $CONFIG_VERSION<br>
    ;;<br>
<br>
  --ogr-enabled)<br>
    echo $CONFIG_OGR_ENABLED<br>
    ;;<br>
<br>
  --formats)<br>
    echo $CONFIG_FORMATS<br>
    ;;<br>
<br>
  *)<br>
    usage 1 1>&2<br>
    ;;<br>
<br>
esac<br>
<br>
<br>
**** Thanks in advance for any/all assistance.<br>
<br>
--<br>
David Strom<br>
<br>
______________________________<u></u>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/grass-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div>
</div>