alpine 3.9

Questions about YourKit Java Profiler
Post Reply
simao
Posts: 1
Joined: Thu Apr 04, 2019 12:26 pm

alpine 3.9

Post by simao »

I am trying to use yourkit following the instruction at https://www.yourkit.com/docs/java/help/docker.jsp

I am still getting the following error:

Code: Select all

Could not find agent library /usr/local/YourKit-JavaProfiler-2019.1/bin/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 /usr/local/YourKit-JavaProfiler-2019.1/bin/linux-x86-64/libyjpagent.so)
libc6-compat is installed. The output of ldd:

Code: Select all

/usr/local/YourKit-JavaProfiler-2019.1/bin/linux-x86-64 # ldd libyjpagent.so 
	ldd (0x7fb68c800000)
	librt.so.1 => ldd (0x7fb68c800000)
	libdl.so.2 => ldd (0x7fb68c800000)
	libm.so.6 => ldd (0x7fb68c800000)
	libc.so.6 => ldd (0x7fb68c800000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by libyjpagent.so)
Any ideas?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: alpine 3.9

Post by Anton Katilin »

libc6-compat is installed.
Do you have the following command in the Dockerfile?

Code: Select all

RUN apk add --no-cache libc6-compat
Post Reply