Opened 2 years ago
Closed 2 years ago
#2363 closed defect (fixed)
gdal's ogr2ogr misses libgrass_vector.8.2.so
Reported by: | edso | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OSGeoLive15.0 |
Component: | OSGeoLive | Keywords: | |
Cc: | osgeolive@… |
Description
user@osgeolive:~$ ogr2ogr --version ERROR 1: libgrass_vector.8.2.so: cannot open shared object file: No such file or directory ERROR 1: libgrass_vector.8.2.so: cannot open shared object file: No such file or directory ERROR 1: libgrass_vector.8.2.so: cannot open shared object file: No such file or directory ERROR 1: libgrass_vector.8.2.so: cannot open shared object file: No such file or directory GDAL 3.4.3, released 2022/04/22
can be fixed by adding the location to the library path
user@osgeolive:~$ LD_LIBRARY_PATH=/usr/lib/grass82/lib/ ogr2ogr --version GDAL 3.4.3, released 2022/04/22
maybe it's best to add the path globally via /etc/ld.so.conf.d/grass.conf
?
Change History (6)
comment:3 by , 2 years ago
I confirmed the similar libgrass_vector.8.2.so: cannot open shared object file: No such file or directory
issue, when I launched MapProxy service.
Temporarily, I confirmed that MapProxy service can be launched by the following workaround.
maybe it's best to add the path globally via
/etc/ld.so.conf.d/grass.conf
?
comment:4 by , 2 years ago
Cc: | added |
---|---|
Priority: | normal → major |
comment:5 by , 2 years ago
New libgdal-grass package now uploaded in nightly ppa to fix this issue.
Thanks Bas for the commit link.
Note:
See TracTickets
for help on using tickets.
GRASS was updated to 8.2.0 which sets RUNPATH, see:
This removes the need to
ld.so.conf
snippets.The libgdal-grass package was not updated correctly for 8.2.0:
It still uses the RUNPATH for GRASS 8.0.x.
The
rpath
patch needs to be updated too, see the packaging changes in Debian for 8.2.0:libgdal-grass (1:1.0.0-1~exp1) dropped this patch because it's included upstream: