javalinuxdockerkubernetesjprofiler

Error loading shared library libstdc++.so.6: No such file or directory (needed by)


I am seeing the following error while trying to attach jprofiler to my zulu jvm inside a container.

Error :

Error loading shared library libstdc++.so.6: No such file or directory (needed by

JVM argument passed:

-agentpath:/data/jprofiler11.0.2/bin/linux-x86/libjprofilerti.so=port=8849,nowait

Solution

  • Apparently, the container image used was not having the required libraries. I used a different image with libraries and made it work.