Skip to content

The binary file(gvite) that built in ubuntu run fail in alpine #594

@viteshan

Description

@viteshan

Describe the bug briefly
The gvite binary file built on Ubuntu can`t execute on Alpine system.

Information

  1. Firstly build gvite on Ubuntu
make gvite-linux
  1. move the binary file to docker based on Alpine and execute
./gvite

output as follows:

bash-4.4# ./gvite
bash: ./gvite: No such file or directory

Reason
The gvite binary file on Ubuntu:

bash-4.4# file gvite
gvite: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

While the gvite binary file on Alpine:

bash-4.4# file gvite
gvite: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, not stripped

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions