Little helper to create tar balls of an executable together with its ELF shared
library dependencies. This is useful for prototyping with gokrazy:


go install[email protected]


Let’s assume you want to try the upcoming Linux ksmbd feature.

On Linux, build ksmbd-tools:

$ git clone
$ cd ksmbd-tools
$ ./
$ ./configure 
$ make -j8
$ freeze control/ksmbd.control
2021/10/24 15:29:33 Download freeze1373262977.tar to your gokrazy device and run:
	LD_LIBRARY_PATH=$PWD ./ ./ksmbd.control

Then, on your gokrazy device, e.g. via breakglass:

$ cd /tmp
$ wget
$ tar xf freeze1373262977.tar 
$ cd freeze1373262977/
$ LD_LIBRARY_PATH=$PWD ./ ./ksmbd.control
Usage: ksmbd.control
	-s | --shutdown
	-d | --debug=all or [smb, auth, etc...]
	-c | --ksmbd-version
	-V | --version


View Github