Skip to content

Cannot execute 32-bit binary on 64-bit device #611

@ViRb3

Description

@ViRb3

My device is running Android 8.1, arm64v8. I have a binary compiled for arm32v7. Whenever I try to execute it via Termux, it gives me this error:

CANNOT LINK EXECUTABLE "/path/to/targetBinary": "/data/data/com.termux/files/usr/lib/libtermux-exec.so" is 64-bit instead of 32-bit

This works on other terminal emulators, since 32-bit is fully compatible with 64-bit.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions