[GRASS-user] Unable to load gdal library error

Hamish hamish_b at yahoo.com
Sat Sep 25 01:33:13 EDT 2010


Daniel wrote:
> Tried recompiling grass but that did
> not change anything. So I ran ldd
> `which r.what` and it did not show any links to a gdal
> library... This is what I got
> 
> GRASS 6.5.svn (br_wgs84):~ > ldd `which r.what`
>     linux-gate.so.1 => 
> (0x00f71000)
>     libgrass_gis.so =>
> /usr/local/grass-6.5.svn/lib/libgrass_gis.so (0x00a31000)
>     libgrass_datetime.so =>
> /usr/local/grass-6.5.svn/lib/libgrass_datetime.so
> (0x00c02000)
>     libz.so.1 => /lib/libz.so.1
> (0x002ca000)
>     libm.so.6 =>
> /lib/tls/i686/cmov/libm.so.6 (0x00681000)
>     libc.so.6 =>
> /lib/tls/i686/cmov/libc.so.6 (0x00d3d000)
>     libdl.so.2 =>
> /lib/tls/i686/cmov/libdl.so.2 (0x00ace000)
>     /lib/ld-linux.so.2 (0x005a5000)
> GRASS 6.5.svn (br_wgs84):~ >
> 
> Does this means that I messed up during compilation?

no, just that a library calls gdal not the module. try:
   ldd /usr/local/grass-6.5.svn/lib/libgrass_gis.so


Hamish


      


More information about the grass-user mailing list