Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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 7 years ago.

Download all attachments as: .zip

Change History (3)

by Bas Couwenberg, 7 years ago

Attachment: grass72.patch added

comment:1 by Even Rouault, 7 years ago

Resolution: fixed
Status: newclosed

In 37160:

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

comment:2 by Even Rouault, 7 years ago

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.