eliihen / wsta

A CLI development tool for WebSocket APIs
GNU General Public License v3.0
631 stars 19 forks source link

Static Binary #13

Open johnjelinek opened 8 years ago

johnjelinek commented 8 years ago

alpine uses musl instead of glibc, it would be much pretty great if wsta could be a static binary. Do you think this might be possible?

Here's what happens if I run wsta in alpine:

# file wsta
wsta: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=ab85bdf454d82ff7135d3daf03a097a8a014d395, not stripped

# sh wsta
wsta: line 1: ELF: not found
wsta: line 5: syntax error: unexpected word (expecting ")")
eliihen commented 8 years ago

I agree, a static binary would be pretty great.

I have previously tried to compile it statically, but so far failed on rust-openssl. If that problem resolves itself, then wsta as a static binary would be a very real possibility.