MatthiasLohr / docker-f5fpc

F5 VPN Client Docker Router
54 stars 26 forks source link

Error loading shared library ld-linux-x86-64.so.2 #26

Closed franz101 closed 3 years ago

franz101 commented 3 years ago

Seems to be a problem regarding alpine or the installations Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /usr/local/bin/f5fpc)

MatthiasLohr commented 3 years ago

How to reproduce?

paranoiasystem commented 3 years ago

@franz101 add this line in Dockerfile

ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2

like this

RUN apk add --no-cache bash ca-certificates file iptables libc6-compat libgcc libstdc++ wget && \
    update-ca-certificates && \
    ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2
franz101 commented 3 years ago

Thank you.. :) @paranoiasystem