UnsatisfiedLinkError: /tmp/snappy-1.1.4-libsnappyjava.so Error loading shared library ld-linux-x86-64.so.2: No such file or directory

后端 未结 5 880
天命终不由人
天命终不由人 2020-12-09 02:51

I am trying to run a Kafka Streams application in kubernetes. When I launch the pod I get the following exception:

Exception in thread \"streams-pipe-e19c2d9         


        
5条回答
  •  攒了一身酷
    2020-12-09 03:44

    Error message states that *libsnappyjava.so cannot find ld-linux-x86-64.so.2. This is a glibc dynamic loader, while Alpine image doesn't run with glibc. You may try to get it running by installing libc6-compat package in your Dockerfile, e.g.:

    RUN apk update && apk add --no-cache libc6-compat
    

提交回复
热议问题