It is interesting that the gitui
binary (Rust) is completely static – from the name of the download binary, I assume it is statically linked to musl – looking at the CD config, that appears correct.
The Go binary likely could have also been made completely static if the build process had turned off CGO.
[cbrake@mars ~]$ ldd /usr/bin/lazygit
linux-vdso.so.1 (0x00007fff7bbd4000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f962fe86000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f962fcbd000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f962fefd000)
[cbrake@mars ~]$ ldd /usr/local/bin/gitui
not a dynamic executable
[cbrake@mars ~]$ ldd /usr/bin/tig
linux-vdso.so.1 (0x00007fffe0dbd000)
libreadline.so.8 => /usr/lib/libreadline.so.8 (0x00007ff6114f3000)
libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007ff611482000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007ff6112b9000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007ff611647000)