[GRASS-user] A little help compiling Grass 7.0 Beta1?

Margherita Di Leo diregola at gmail.com
Fri Apr 11 00:23:44 PDT 2014


Hi,


On Thu, Apr 10, 2014 at 10:31 PM, David Strom <dstrom at ciesin.columbia.edu>wrote:

> I'm on a Centos 6.4 system. We need BigTiff support, so the Elgis versions
> don't work for us.
>
> 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.
>

In the directory where you compiled gdal, run:

sudo ldconfig

and as suggested run also:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH


>
> Now having problems with Grass 7.0 Beta1, at compile time (make).  Seems
> like it's not finding gdal lib:
>
> in display subdirectory :
>
> ... error while loading shared libraries: libgdal.so.1: cannot open shared
> object file: No such file or directory
>
> then again in general subdir, so I notice the pattern & look for that lib:
>
> find /usr/local -name libgdal.so.1 -print
> /usr/local/lib/libgdal.so.1
> /usr/local/share/gdal-trunk/.libs/libgdal.so.1
> /usr/local/hidelib/libgdal.so.1
>
> Any help on how to get past this?
>
> This the configure I'm using, from the suggested:
>
> ./configure \
>  --with-libs=/usr/lib64 \
>  --with-cxx \
>  --without-ffmpeg \
>  --with-gdal=/usr/local/bin/gdal-config \
>

In the unlikely case it still doesn't work, try to explicitly link :

--with-gdal=/usr/local/bin/gdal-config \
--with-gdal-includes=/usr/local/include \
--with-gdal-libs=/usr/local/lib \

HTH,
madi


-- 
Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo at jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140411/382aad70/attachment.html>


More information about the grass-user mailing list