/opt/jmeter/lib/ext # java -jar protoc-jar-3.21.4.jar -v:com.google.protobuf:protoc:3.11.4 --version
protoc-jar: protoc version: com.google.protobuf:protoc:3.11.4, detected platform: linux-x86_64 (linux/amd64)
protoc-jar: using default maven settings, didn't find user settings.xml
protoc-jar: cached: /tmp/protocjar.webcache/com/google/protobuf/protoc/maven-metadata.xml
protoc-jar: downloading: https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.11.4/protoc-3.11.4-linux-x86_64.exe
protoc-jar: saved: /tmp/protocjar.webcache/com/google/protobuf/protoc/3.11.4/protoc-3.11.4-linux-x86_64.exe
protoc-jar: executing: [/tmp/protocjar9892643096772599943/bin/protoc.exe, --version]
protoc-jar: caught exception, retrying: java.io.IOException: Cannot run program "/tmp/protocjar9892643096772599943/bin/protoc.exe": error=2, No such file or directory
protoc-jar: executing: [/tmp/protocjar9892643096772599943/bin/protoc.exe, --version]
protoc-jar: caught exception, retrying: java.io.IOException: Cannot run program "/tmp/protocjar9892643096772599943/bin/protoc.exe": error=2, No such file or directory
alpine linux --解决办法:
apk add glibc-2.35-r1.apk--没有了,可以去官网下载
apk add gcompat
protoc-jar版本选择3.11.4以下