[GRASSLIST:4096] Re: r.in.gdal question

Glynn Clements glynn.clements at virgin.net
Thu Jul 18 11:41:28 EDT 2002


Kevin Slover wrote:

> I am attempting to use r.in.gdal to import a bsb raster chart.  I have
> read in the documentation pages for gdal that it supports bsb.  Does
> this hold true for GRASS5??  Another problem that I have experienced
> with r.in.gdal is the following error:
> 
> GBBridgeInitialize() failed to find an suitable GDAL .DLL/.so file.
> The following filenames were searched for:
>   o libgdal.1.1.so
>   o gdal.1.0.so
>   o gdal.so.1.0
>   o libgdal.so.1
> 
> The following locations were searched:
>   o /usr/local/grass5/lib
>   o System default locations.
> 
> 
> System default locations may be influenced by:
> LD_LIBRARY_PATH = /usr/local/grass5/lib
> ERROR: Unable to initialize GDAL bridge (check libgdal
>        installation/LD_LIBRARY_PATH variable).
> 
> Is this a user error??  I am using pre3 or pre4, can't remember which
> one...  thanks!!

1. What OS are you using?

2. Have you installed the GDAL library?

Binary versions of GRASS should include libgdal, although it could
have been omitted. It isn't included in the GRASS source code. If you
built GRASS from source, r.in.gdal will compile even if GDAL isn't
installed, but it won't run (it will produce an error like the one
above).

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list