Some files are dynamically linked
Poorunga opened this issue · 2 comments
Poorunga commented
Some files are dynamically linked: conmon, fuse-overlayfs, fusermount3, slirp4netns
Poorunga commented
Can these binaries be statically compiled
mgoltzsche commented
@Poorunga all but fusermount3 were actually statically linked.
In mgoltzsche/podman:1.9.0
fusermount3 is now statically linked as well.
Regarding the linking what may have confused you (confused me once):
- Within an alpine container
ldd <BINARY>
lists musl:
$ docker run --rm --entrypoint /bin/sh mgoltzsche/podman:1.8.2 -c 'ldd /usr/libexec/podman/conmon'
/lib/ld-musl-x86_64.so.1 (0x7f20c0b5f000)
- Same binary on my Ubuntu host:
$ docker create --name pmtest mgoltzsche/podman:1.8.2
$ docker cp pmtest:/usr/libexec/podman/conmon conmon
$ ldd conmon
statically linked