lsupg Static Executable
I released TTC
1.1.0.0
this morning as well as released updates to the TTC article series. I then
updated the TTC dependency version range on LiterateX
and released version 0.1.0.2
. With that behind me, I was
able to try building the initial prototype of lsupg
again.
After spending quite a bit of time trying to figure out how to
resolve linking errors, I realized that the Docker images provided for
Stack use Alpine Linux and are capable of static linking! With a few
configuration changes, I am now able to build static executables for the
current lsupg
prototype.
It works!
[lsupg] build$ ldd lsupg
not a dynamic executable
[lsupg] build$ ./lsupg --image debian:buster
apt liblz4-1 1.8.3-1 1.8.3-1+deb10u1
[lsupg] build$ echo $?
3