Skip to content

amd64 binary not statically linked #470

Closed
@leifg

Description

I just found out, that the binary for 64bit has not been compiled with statically linked libraries:

wget https://github.com/nats-io/gnatsd/releases/download/v0.9.6/gnatsd-v0.9.6-linux-amd64.zip
unzip gnatsd-v0.9.6-linux-amd64.zip
file gnatsd-v0.9.6-linux-amd64/gnatsd
=> gnatsd-v0.9.6-linux-amd64/gnatsd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped

this caused trouble running it on alpine linux. I looked up the binary for the docker container which seems to be statically linked.

Is that by accident? I think the 64bit binary should be statically linked (as the 32bit one is)

Metadata

Assignees

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