sgerrand / alpine-pkg-glibc

A glibc compatibility layer package for Alpine Linux
2.05k stars 280 forks source link

glibc 2.17 Application #117

Closed Canic closed 2 months ago

Canic commented 5 years ago

Hey,

so after i used now for a long time this lib for glibc application like teamspeak, now with the latest Teamspeak 3 Update (V. 3.8.0) this breaks something. Teamspeak now required as min version glibc 2.17. I get only following errro: libstdc++.so.6: cannot open shared object file.

I have a Repo on my profile with the currently used docker container and the glibc addon.

Does sgerrand glibc missing some stuff of the glibc or do i something wrong?!

sgerrand commented 5 years ago

I have a Repo on my profile with the currently used docker container and the glibc addon.

I can't see this repository in https://github.com/Canic. Please paste the Dockerfile here inline if you'd still like help.

zhuiyi9009 commented 4 years ago

i have the same problem my docker file

FROM erlang:21-alpine

WORKDIR /srv

ENV GLIBC_PKG_VERSION=2.23-r1

RUN apk add --no-cache --update-cache curl ca-certificates bash make && \
curl -Lo /etc/apk/keys/andyshinn.rsa.pub "https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/andyshinn.rsa.pub" && \
curl -Lo glibc-${GLIBC_PKG_VERSION}.apk "https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/glibc-${GLIBC_PKG_VERSION}.apk" && \
curl -Lo glibc-bin-${GLIBC_PKG_VERSION}.apk "https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/glibc-bin-${GLIBC_PKG_VERSION}.apk" && \
curl -Lo glibc-i18n-${GLIBC_PKG_VERSION}.apk "https://github.com/andyshinn/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/glibc-i18n-${GLIBC_PKG_VERSION}.apk" && \
apk add glibc-${GLIBC_PKG_VERSION}.apk glibc-bin-${GLIBC_PKG_VERSION}.apk glibc-i18n-${GLIBC_PKG_VERSION}.apk

CMD ["/bin/bash"]
sgerrand commented 2 months ago

I'm really sorry for not responding to this bug report sooner. This Dockerfile is similar enough to the one you posted and builds fine:

FROM erlang:21-alpine

WORKDIR /srv

ENV GLIBC_PKG_VERSION=2.35-r1

RUN apk add --no-cache --update-cache curl ca-certificates bash make
RUN curl -Lo /etc/apk/keys/sgerrand.rsa.pub "https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub"
RUN curl -Lo glibc-${GLIBC_PKG_VERSION}.apk "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/glibc-${GLIBC_PKG_VERSION}.apk"
RUN curl -Lo glibc-bin-${GLIBC_PKG_VERSION}.apk "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/glibc-bin-${GLIBC_PKG_VERSION}.apk"
RUN curl -Lo glibc-i18n-${GLIBC_PKG_VERSION}.apk "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_PKG_VERSION}/glibc-i18n-${GLIBC_PKG_VERSION}.apk"
RUN apk add glibc-${GLIBC_PKG_VERSION}.apk glibc-bin-${GLIBC_PKG_VERSION}.apk glibc-i18n-${GLIBC_PKG_VERSION}.apk

CMD ["/bin/bash"]