Skip to content

clang-18: cannot execute: required file not found #175

@61rd

Description

@61rd

../android-ndk-r27b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-18: cannot execute: required file not found

ldd ../android-ndk-r27b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-18
../android-ndk-r27b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-18: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header

cat /usr/lib/libc.so
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf64-littleaarch64)
GROUP ( /usr/lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /usr/lib/ld-linux-aarch64.so.1 ) )

uname -a
Linux localhost 5.15.149-android13-8-o-01121-g97042f284a84 #1 SMP PREEMPT Wed Jan 8 03:34:35 UTC 2025 aarch64 GNU/Linux

fastfetch
....
OS: Arch Linux ARM aarch64
Host: Qualcomm Technologies, Inc. Kalama MTP,salami
Kernel: Linux 5.15.149-android13-8-o-01121-g97042f284a84
Uptime: 1 day, 2 hours, 49 mins
Packages: 431 (pacman)
Shell: bash 5.2.37
Display (QCM0001): 1080x2412 @ 120 Hz in 7"
Display (QCM0001): 1080x2412 @ 120 Hz in 7"
Cursor: Adwaita
Terminal: apd
CPU: kalama (8) @ 3.19 GHz
GPU: Mesa llvmpipe (LLVM 19.1.7, 128 bits)
Memory: 7.67 GiB / 14.77 GiB (52%)
Swap: 2.04 GiB / 17.00 GiB (12%)
Disk (/tmp): 108.62 GiB / 217.81 GiB (50%) - f2fs
Local IP (wlan0): 192.168.31.187/24
Battery: 35% [Discharging]
Locale: C

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions