Closed riveryeti closed 1 year ago
A workaround is to pkg in libwebp
.
For devs: this is so-called automagic dependencies, a common packaging error. In CI, libwebp
is pulled in as a dependency of libjxl-progs
, a subpackage of libjxl
which gdal
depends on. So even a single rebuild of gdal
in CI makes it depend on libwebp
automagically. As gdal
does not depend on libjxl-progs
either directly or indirectly, it is not pulled in by pkg in gdal
.
Adding libwebp
to TERMUX_PKG_DEPENDS
solved the problem, if updated to the latest version it would encounter build errors.
https://github.com/2096779623/termux-packages/actions/runs/3350673054/jobs/5551632892#step:6:1680
I think it is possible to link this to solve this problem.
Thanks for the quick fix! Thanks to y'all I was able to build a VRT pointing to a remote cloud-optimized geotiff (COG) all from the comfort of my phone!
Problem description
Installing gdal with pkg install gdal after pkg upgrade && pkg update I still get this error:
CANNOT LINK EXECUTABLE "gdalinfo": library "libwebp.so" not found: needed by /data/data/com.termux/files/usr/lib/libgdal.so in namespace (default)
What steps will reproduce the bug?
pkg install gdal gdalinfo --version
What is the expected behavior?
Print gdalinfo version
System information
termux-info: