Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: kompose binary should be statically linked #98

Closed
janetkuo opened this issue Aug 10, 2016 · 0 comments
Closed

Release: kompose binary should be statically linked #98

janetkuo opened this issue Aug 10, 2016 · 0 comments
Assignees

Comments

@janetkuo
Copy link
Member

janetkuo commented Aug 10, 2016

The latest release binary is dynamically linked. We should distribute statically linked binaries instead.

$ ldd kompose 
    linux-vdso.so.1 =>  (0x00007ffe937ea000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0a7dae5000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0a7d720000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f0a7dd03000)

$ file kompose 
/usr/local/kompose: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=86c6d2ff21297a06cc7319244f35e2671612beae, not stripped

Setting CGO_ENABLED=0 should do the trick.

Ref #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant