Skip to content

Vers CLI does not function on musl libc based linux distros #104

@shofetim

Description

@shofetim

The vers binary is dynamically linked against glibc, so it doesn't work on Alpine Linux or any other distros that use a different Libc. It also maybe looks for glibc in an odd place? as even after I installed glibc it couldn't find it.

It does run on Ubuntu 25.04 though.

To reproduce:

curl -L "https://github.com/hdresearch/vers-cli/releases/download/v0.4.3/vers-linux-amd64" -o vers
chmod +x vers
./vers

returns

-sh: ./vers: not found

What is is linked against:

$ ldd vers
        /lib64/ld-linux-x86-64.so.2 (0x7f45cd3a6000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f45cd3a6000)
Error relocating vers: __vfprintf_chk: symbol not found
Error relocating vers: __fprintf_chk: symbol not found

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