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: osgeolive@…
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:1 by Bas Couwenberg, 2 years ago

Or update to 8.2.0 which sets RUNPATH, see:

https://github.com/OSGeo/grass/pull/2280

And the related GDAL-GRASS change:

https://github.com/OSGeo/gdal/pull/5503

Version 0, edited 2 years ago by Bas Couwenberg (next)

comment:2 by edso, 2 years ago

or that way :). thanks for digging into!

comment:3 by sanak, 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 kalxas, 2 years ago

Cc: osgeolive@… added
Priority: normalmajor

comment:5 by kalxas, 2 years ago

New libgdal-grass package now uploaded in nightly ppa to fix this issue.

Thanks Bas for the commit link.

comment:6 by kalxas, 2 years ago

Resolution: fixed
Status: newclosed

confirmed fixed in build89

Note: See TracTickets for help on using tickets.