termux / termux-api-package

Termux package containing scripts to call functionality in Termux:API.
MIT License
1.04k stars 321 forks source link

Library not found in proot-distro #176

Closed tiredElephant closed 10 months ago

tiredElephant commented 1 year ago

Problem description When using termux-clipboard-set/get in proot-distro (ubuntu), I get the error: ˋCANNOT LINK EXECUTABLE "/apex/com.android.art/bin/dex2oat64": library "libartpalette.so" not found: needed by main executable"ˋ The funny thing is it still works so its not breaking. Just showing an annoying error message. It works flawlessly outside of proot. This happens on both my phone and my tablet, both using Android 13 with oneUI. Also I am pretty sure it worked before but I may have broken it myself.

Steps to reproduce Install ubuntu in proot (it may also happen with other distros) on a device running android 13 (may also happen on older versions) and try using api commands like clipboard and torch. They will work but with an error message.

Expected behavior just work without error

Additional information ˋˋˋTermux Variables: TERMUX_API_VERSION=0.50.1 TERMUX_APK_RELEASE=F_DROID TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP_PID=8869 TERMUX_IS_DEBUGGABLE_BUILD=0 TERMUX_MAIN_PACKAGE_FORMAT=debian TERMUX_VERSION=0.118.0 Packages CPU architecture: aarch64 Subscribed repositories:

sources.list

deb https://packages-cf.termux.dev/apt/termux-main stable main

x11-repo (sources.list.d/x11.list)

deb https://packages-cf.termux.dev/apt/termux-x11 x11 main

tur-repo (sources.list.d/tur.list)

deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous Updatable packages: apt/stable 2.7.3 aarch64 [upgradable from: 2.6.0] ca-certificates/stable 1:2023.05.30 all [upgradable from: 1:2023.01.10] clang/stable 16.0.6-2 aarch64 [upgradable from: 16.0.2] command-not-found/stable 2.2.0-10 aarch64 [upgradable from: 2.1.0-20] curl/stable 8.2.1 aarch64 [upgradable from: 8.1.2] debianutils/stable 5.8 aarch64 [upgradable from: 5.7] diffutils/stable 3.10 aarch64 [upgradable from: 3.9] dos2unix/stable 7.5.0 aarch64 [upgradable from: 7.4.4] dpkg/stable 1.21.22 aarch64 [upgradable from: 1.21.21] freetype/stable 2.13.1 aarch64 [upgradable from: 2.13.0-1] gawk/stable 5.2.2 aarch64 [upgradable from: 5.2.1-1] glib/stable 2.76.3 aarch64 [upgradable from: 2.76.2] gpgv/stable 2.4.3 aarch64 [upgradable from: 2.4.0-3] grep/stable 3.11 aarch64 [upgradable from: 3.10-1] krb5/stable 1.21 aarch64 [upgradable from: 1.20.1] less/stable 633-1 aarch64 [upgradable from: 608-1] libassuan/stable 2.5.6 aarch64 [upgradable from: 2.5.5] libcompiler-rt/stable 16.0.6-2 aarch64 [upgradable from: 16.0.2] libcurl/stable 8.2.1 aarch64 [upgradable from: 8.1.2] libexpat/stable 2.5.0-1 aarch64 [upgradable from: 2.5.0] libglvnd/stable 1.6.0-1 aarch64 [upgradable from: 1.6.0] libgnutls/stable 3.8.0-1 aarch64 [upgradable from: 3.8.0] libllvm/stable 16.0.6-2 aarch64 [upgradable from: 16.0.2] liblzma/stable 5.4.4 aarch64 [upgradable from: 5.4.2] libmd/stable 1.1.0 aarch64 [upgradable from: 1.0.4] libmpfr/stable 4.2.0-p9-0 aarch64 [upgradable from: 4.2.0-p4-0] libnettle/stable 3.9.1 aarch64 [upgradable from: 3.8.1] libnghttp2/stable 1.55.1 aarch64 [upgradable from: 1.52.0] libpng/stable 1.6.40 aarch64 [upgradable from: 1.6.39] libsmartcols/stable 2.39.1 aarch64 [upgradable from: 2.38.1-1] libsqlite/stable 3.42.0 aarch64 [upgradable from: 3.41.2] libssh2/stable 1.11.0 aarch64 [upgradable from: 1.10.0-2] libtalloc/stable 2.4.1 aarch64 [upgradable from: 2.4.0] libuuid/stable 2.39.1 aarch64 [upgradable from: 2.38.1-1] libwayland/stable 1.21.0-2 aarch64 [upgradable from: 1.21.0-1] libx11/stable 1.8.6 aarch64 [upgradable from: 1.8.4-1] libxml2/stable 2.11.4-2 aarch64 [upgradable from: 2.10.4] lld/stable 16.0.6-2 aarch64 [upgradable from: 16.0.2] llvm/stable 16.0.6-2 aarch64 [upgradable from: 16.0.2] ncurses-ui-libs/stable 6.4.20230527 aarch64 [upgradable from: 6.4-2] ncurses-utils/stable 6.4.20230527 aarch64 [upgradable from: 6.4-2] ncurses/stable 6.4.20230527 aarch64 [upgradable from: 6.4-2] openssh-sftp-server/stable 9.3p2 aarch64 [upgradable from: 9.3p1] openssh/stable 9.3p2 aarch64 [upgradable from: 9.3p1] openssl/stable 1:3.1.2 aarch64 [upgradable from: 1:3.1.0] proot-distro/stable 3.17.0 all [upgradable from: 3.10.0] proot/stable 5.1.107-60 aarch64 [upgradable from: 5.1.107-59] python-ensurepip-wheels/stable 3.11.4-2 all [upgradable from: 3.11.3] python-pip/stable 23.2.1 all [upgradable from: 23.1.1] python/stable 3.11.4-2 aarch64 [upgradable from: 3.11.3] tar/stable 1.35 aarch64 [upgradable from: 1.34-2] termux-tools/stable 1.38.3 all [upgradable from: 1.38.1] unbound/stable 1.17.1-2 aarch64 [upgradable from: 1.17.1] util-linux/stable 2.39.1 aarch64 [upgradable from: 2.38.1-1] virglrenderer-android/x11 0.10.4-3 aarch64 [upgradable from: 0.10.4-2] vulkan-loader-android/stable 25c-1 aarch64 [upgradable from: 25c] vulkan-loader/stable 0.0.2 all [upgradable from: 0.0.1] wget/stable 1.21.4-1 aarch64 [upgradable from: 1.21.4] xkeyboard-config/x11 2.39 all [upgradable from: 2.38] xxhash/stable 0.8.2 aarch64 [upgradable from: 0.8.1] xz-utils/stable 5.4.4 aarch64 [upgradable from: 5.4.2] zstd/stable 1.5.5-1 aarch64 [upgradable from: 1.5.5] termux-tools version: 1.38.1 Android version: 13 Kernel build information: Linux localhost 5.10.136-android12-9-26317380-abX800XXU4BWD8 #1 SMP PREEMPT Thu Apr 27 02:39:54 UTC 2023 aarch64 Android Device manufacturer: samsung Device model: SM-X800 LD Variables: LD_LIBRARY_PATH= LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so ˋˋˋ