4 ms·
Particular to the c library? Because an "ldd" on the hello world listed quite a few libs which all worked fine with a static build.
by e12e 8y ago
Particular to the c library? Because an "ldd" on the hello world listed quite a few libs which all worked fine with a static build.
- sam0x17 8y agoopenssl and libz are particularly fussy
- e12e 8y agoI could definitely see openssl being tricky (libz not so much, but I might very well be naive here) - but how does changing the libc help with either?
- RX14 8y agoglibc has some plugins which make it not easy to statically link. Musl doesn't have that. And alpine compiles openssl etc. with a config amenable to static linking. It's all about distro choices.