alpine3 java agent error

Questions about YourKit Java Profiler
Post Reply
info2madhu
Posts: 1
Joined: Mon Jun 06, 2022 8:23 am

alpine3 java agent error

Post by info2madhu »

Hello,
I am trying to setup a java agent in a docker container with Alpine 3.13 as base image and getting below error. Check other posts in this forum, didn't help

Error occurred during initialization of VM
Could not find agent library /opt/liferay/yourkit/linux-x86-64/libyjpagent.so in absolute path, with error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /opt/liferay/yourkit/linux-x86-64/libyjpagent.so)

Regards,
Madhu
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: alpine3 java agent error

Post by Anton Katilin »

Hi Madhu

Please use the agent version for Alpine: <profiler directory>/bin/linux-musl-x86-64/libyjpagent.so

See https://www.yourkit.com/docs/java/help/agent.jsp

Best regards,
Anton
Post Reply