Skip to content

Invalid precompiled binaries for aarch64-linux-gnu #38

Description

@hansihe

Looking at the precompiled binaries in exgboost-nif-2.17-aarch64-linux-gnu-0.5.0.tar.gz, they appear to be for x86-64:

➜  exgboost-nif-2.17-aarch64-linux-gnu-0.5.0 file libexgboost.so
libexgboost.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=73b007f8874b86f0c888a33071ec9494e4d0ab5d, not stripped

➜  exgboost-nif-2.17-aarch64-linux-gnu-0.5.0 file lib/libxgboost.so
lib/libxgboost.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=29bbac9879aabb9cf5e18a700ddeb245612e95e3, not stripped

Just to confirm my file prints architectures correctly, I also tried the precompiled binaries for ex_tokenizers. These are correctly labelled as aarch64 binaries.

➜  Downloads file libex_tokenizers-v0.3.2-nif-2.16-aarch64-unknown-linux-gnu.so
libex_tokenizers-v0.3.2-nif-2.16-aarch64-unknown-linux-gnu.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=99368f1b15dcd5d9e451775c7d5c91784556bd95, with debug_info, not stripped

This issue causes the NIF to fail to load with a no such file or directory on a aarch64 linux machine when downloading precompiled binaries.

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