| ▲ | fc417fc802 11 hours ago | ||||||||||||||||||||||||||||||||||
Well not a static binary in the sense that's commonly meant when speaking about static linking. But you can pack .so files into the executable as binary data and then dlopen the relevant memory ranges. | |||||||||||||||||||||||||||||||||||
| ▲ | mdavid626 11 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||
Yes, that's true. But I'm always a bit sceptical about such approaches. They are not universal. You still need glibc/musl to be the same on the target system. Also, if you compile againt new glibc version, but try to run on old glibc version, it might not work. These are just strange and confusing from the end users' perspective. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||