【发布时间】:2018-05-21 21:37:49
【问题描述】:
当运行 jpenable 以允许在运行 JDK 8 的 alpine:3.3 容器中对 Jprofiler10 进行分析时,我遇到了 UnsatisfiedLinkError 异常。有什么想法吗?
ERROR: The agent could not be loaded: Picked up _JAVA_OPTIONS: -Xmx1024m
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/jprofiler10/bin/
linux-x64/libattach.so: Error relocating /opt/jprofiler10/bin/linux-x64/libattac
h.so: __strcpy_chk: symbol not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.jprofiler.attach.b.b.b.load(ejt:6)
at com.jprofiler.attach.b.b.i.loadLibraryPath(ejt:49)
at com.jprofiler.attach.a.b(ejt:92)
at com.jprofiler.attach.a.a(ejt:74)
at com.jprofiler.attach.a.main(ejt:116)
【问题讨论】:
-
你可以尝试安装包
gcc g++ linux-headers udev吗? -
谢谢,@IngoKegel - 我尝试将这些包添加到容器中 - 但结果是一样的。我有一张支持票,Hannes 正在和我一起工作。