[Gdal-dev] GRASS/GDAL plugin issue

Markus Neteler neteler at itc.it
Sat Mar 5 06:15:46 EST 2005


On Thu, Mar 03, 2005 at 02:29:57PM -0500, Frank Warmerdam wrote:
> On Thu, 3 Mar 2005 20:14:16 +0100, Markus Neteler <neteler at itc.it> wrote:
> ...
> > Local problem or did anything change recently?
> > I tried on two different machines where things were working so far.
> 
> Markus,
> 
> Sorry, I recently changed how plugins are searched for at the request
> of a user.  The default search location is now /usr/local/lib/gdal_plugins
> instead of /usr/local/lib.  This is to reduce the change of the wrong files
> being loaded as plugins. 

Ah, good to know.

 cd frmts/grass/pkg/
 ./configure --with-grass=$HOME/grass60/dist.i686-pc-linux-gnu \
   --with-autoload=/usr/local/lib/gdal_plugins
...
checking for gdal-config... /usr/local/bin/gdal-config
using /usr/local/lib/gdal_plugins as GDAL shared library autoload directory
checking for G_asprintf in -lgrass_gis... yes
...
 
> Try moving the gdal_GRASS.so you built. 

Unfortunately it doesn't help yet:

ls -l /usr/local/lib/gdal_plugins
-rwxr-xr-x  1 neteler neteler 36993 Mär  5 12:15 gdal_GRASS.so*

ldd /usr/local/lib/gdal_plugins/gdal_GRASS.so
        linux-gate.so.1 =>  (0xffffe000)
        libgrass_I.so => /usr/local/lib/libgrass_I.so (0x40020000)
        libgrass_vask.so => /usr/local/lib/libgrass_vask.so (0x40030000)
        libgrass_gmath.so => /usr/local/lib/libgrass_gmath.so (0x40036000)
        ...

export CPL_DEBUG=on
gdalinfo grassdata/utm32n/PERMANENT/cellhd/ebergoetzen.rgb
ERROR 4: `grassdata/utm32n/PERMANENT/cellhd/ebergoetzen.rgb' not recognised as a supported file format.
GDALOpen failed - 4
`grassdata/utm32n/PERMANENT/cellhd/ebergoetzen.rgb' not recognised as a supported file format.

GDAL: GDALDeregister_GTiff() called.

Sorry for no better news. A final trick seems to be missing.

Best regards

 Markus




More information about the Gdal-dev mailing list