FS#75749 - [gdal] ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory
Attached to Project:
Community Packages
Opened by Thomas (thomastc) - Tuesday, 30 August 2022, 13:50 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Opened by Thomas (thomastc) - Tuesday, 30 August 2022, 13:50 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
|
Details
Version: gdal 3.5.1-2
Description: If the *optional* arrow package is not installed, any use of the GDAL library spits out this error: ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory The message seems to be harmless, but is a bit annoying. It's not clearly documented, but I would assume that building with `-DGDAL_USE_ARROW=ON` makes arrow a *required* dependency. So maybe the fix is as simple as moving it from optdepends to depends. But if `-DGDAL_USER_ARROW=ON` merely adds support for arrow if it's found at runtime, then this would be an upstream bug. Steps to reproduce: Run `ogr2ogr` without arguments. $ ogr2ogr ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory Usage: ogr2ogr [--help-general] [-skipfailures] [-append] [-update] ... |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/gdal/issues/1
Saturday, 25 November 2023, 20:04 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/gdal/issues/1
[1] https://wiki.archlinux.org/title/PKGBUILD#optdepends
[2] https://github.com/OSGeo/gdal/blob/v3.5.1/NEWS.md#new-optional-dependencies
Not sure what the best way is to proceed. I actually had all optional dependencies except arrow installed, and found only two that I could remove without cascading uninstalls, so most of these optional deps seem to be pretty common, so it might not hurt too much to make them required?
Alternatively, these driver plugins (see /usr/lib/gdalplugins) could be packaged separately, each with a hard dependency on gdal and their respective third-party library. That might be the more in line with The Arch Way of doing things.
> gdalinfo
ERROR 1: libpodofo.so.0.9.8: cannot open shared object file: No such file or directory
ERROR 1: libpodofo.so.0.9.8: cannot open shared object file: No such file or directory
ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory
ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory
ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory
ERROR 1: libarrow.so.800: cannot open shared object file: No such file or directory
FS#77348FS#78765