Closed mcasper closed 5 years ago
It looks like this is because the ldd wrapper script in /usr/bin is only sending things on to the args part of the binary:
$ cat $(which ldd)
#!/bin/sh
exec /lib/ld-musl-x86_64.so.1 --list -- "$@"
Thank you, that's annoying. It's surprisingly difficult to figure out if the underlying platform is musl or glibc in a generic manner.
As a workaround, you should be able to set the platform triple explicitly:
core_agent_triple: "i686-unknown-linux-musl"
next to the other Scout configs.
Nice, thank you for the workaround!
Hey folks,
On at least alpine 3.10, this library outputs an error when trying to detect the
libc
version:which comes from https://github.com/scoutapp/scout_apm_elixir/blob/b9ce2312cd59e4f3ca8718fdbb6b30d5cb83d784/lib/scout_apm/core.ex#L76
Calling the .so directly yields the expected response: