Skip to content

[Bug]: qemu-system-aarch64 fails to run due to missing symbol "virgl_renderer_resource_get_info_ext" #26501

@richardxday

Description

@richardxday

Problem description

Using the qemu-system-aarch64 package (not the qemu-system-aarch64-headless package), running qemu-system-aarch64 fails with the following error:
CANNOT LINK EXECUTABLE "qemu-system-aarch64": cannot locate symbol "virgl_renderer_resource_get_info_ext" referenced by "/data/data/com.termux/files/usr/bin/qemu-system-aarch64"...

The same issue also occurs with qemu-system-x86_64 (and possibly other qemu emulators).

What steps will reproduce the bug?

Install the package:
apt install qemu-system-aarch64

Run the app:
qemu-system-aarch64 -machine virt

What is the expected behavior?

qemu will run

System information

Termux Variables:
TERMUX_API_VERSION=0.53.0
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=10914
TERMUX_APP__DATA_DIR=/data/user/0/com.termux
TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c149,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.3
TERMUX__HOME=/data/data/com.termux/files/home
TERMUX__PREFIX=/data/data/com.termux/files/usr
TERMUX__ROOTFS_DIR=/data/data/com.termux/files
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c149,c257,c512,c768
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://tmx.xvx.my.id/apt/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://tmx.xvx.my.id/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 6.6.30-android15-8-30455426-abogkiS938BXXS5AYG2-4k #1 SMP PREEMPT Thu Jul 24 01:53:00 UTC 2025 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-S938B
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a
SUPPORTED_32_BIT_ABIS: 
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.widget versionCode:1001
com.termux.api versionCode:1002
com.termux.tasker versionCode:1002
com.termux.x11 versionCode:15
com.termux.gui versionCode:7
com.termux.window versionCode:1001
com.termux.styling versionCode:1000
com.termux.boot versionCode:1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions