[GRASSLIST:2520] Was: r.in.gdal and libgdal.1.1.dylib

Christof Bigler christof.bigler at colorado.edu
Sun Feb 8 12:58:06 EST 2004


The import works. Apparently, the problem was the missing 
libgdal.1.1.dylib in /usr/local/lib. I had a higher libgdal.1.1.9.dylib 
version which had been installed with the GRASS binary distribution for 
OS X. I installed then the libgdal.1.1.dylib from 
http://gdal.velocet.ca/projects/grass.

Another thing: Is it possible to change the man pages for r.in.gdal? It 
took me literally hours to find out that the input name should be the 
directory and not the file itself. I found this information in a mail 
to the list from, I think, 2001, and also in the Open Source GIS book 
from Neteler & Mitasova.

Thanks
Christof

On 06.02.2004, at 12:09, Christof Bigler wrote:

> Hi
>
> I tried to import a raster file (w001001.adf, 358 MB), which is in the 
> directory 'codem1nw'. There must be some problems with the 
> libgdal.1.1.dylib. Here is some output:
>
> GRASS 5.0.2 > r.in.gdal in=codem1nw out=codem1nw.r
> dyld: r.in.gdal Undefined symbols:
> r.in.gdal undefined reference to _deflateInit_ expected to be defined 
> in /usr/local/lib/libgdal.1.1.dylib
> Trace/BPT trap
>
> GRASS 5.0.2 > gdalinfo --version
> GDAL 1.1.9.0, released 2003/06/27
>
> GRASS 5.0.2 > gdalinfo codem1nw
> [I received some reasonable output, no error messages.]
>
> I work on Mac OS X (10.3.2).
>
> Thanks for your help
>
> Christof
>




More information about the grass-user mailing list