Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#6785 closed defect (fixed)

Patch to support GRASS 7.2

Reported by: Bas Couwenberg Owned by: warmerdam
Priority: normal Milestone: 2.1.3
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc: Bas Couwenberg

Description

The libgdal-grass Debian package uses a patch to set the RPATH to the GRASS library directory which is no in the standard library search path.

Some GRASS 7.2 libraries require new libraries (libgrass_btree2 & libgrass_ccmath) which are not linked by the GDAL GRASS plugin and can therefor not be found resulting in errors like these:

$ gdalinfo --version
ERROR 1: libgrass_btree2.7.2.0.so: cannot open shared object file: No such file or directory
ERROR 1: libgrass_btree2.7.2.0.so: cannot open shared object file: No such file or directory
ERROR 1: libgrass_btree2.7.2.0.so: cannot open shared object file: No such file or directory
ERROR 1: libgrass_btree2.7.2.0.so: cannot open shared object file: No such file or directory
GDAL 2.1.2, released 2016/10/24

The attached patch links the new libraries when GRASS 7.2 is detected to resolve those errors.

Attachments (1)

grass72.patch (1.9 KB) - added by Bas Couwenberg 3 months ago.

Download all attachments as: .zip

Change History (3)

Changed 3 months ago by Bas Couwenberg

Attachment: grass72.patch added

comment:1 Changed 3 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 37160:

frmts/grass/pkg/configure: add support for GRASS 7.2 (patch by Bas Couwenberg, fixes #6785)

comment:2 Changed 3 months ago by Even Rouault

In 37161:

frmts/grass/pkg/configure: add support for GRASS 7.2 (patch by Bas Couwenberg, fixes #6785)

Note: See TracTickets for help on using tickets.