New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility issue for version 1.0.6+ on ARM64 systems GLIBC_2.33 not found
#630
Comments
Just ran into the same error message on my M1 Mac in a Docker container using the |
This is a bit hacky but we were able to get around this issue by recompiling the FROM node:18-bullseye-slim as base
WORKDIR /home/node/app
COPY package.json package-lock.json ./
RUN npm install --no-save
FROM node:18-bullseye-slim as libxmljs-builder
WORKDIR /home/node/app
RUN apt-get update && apt-get install -y build-essential python3
COPY --from=base /home/node/app/node_modules ./node_modules
RUN rm -rf node_modules/libxmljs/build && \
cd node_modules/libxmljs && \
npm run build
FROM node:18-bullseye-slim
USER node
WORKDIR /home/node/app
COPY --chown=node:node --from=libxmljs-builder /home/node/app/node_modules ./node_modules
COPY --chown=node:node . ./
CMD ["npm", "run start"]
When the binaries published by this package are compatible with |
We're using that workaround for right now for our aarch64 builds. Is there any potential Github Actions change to have the aarch64/arm build to also use the manylinux_2_28 container that the x64 builds are using? |
From what I was reading commercialhaskell/stack#5876 |
Using
node-18-bullseye-slim
image, we receive the following error when loading thelibxmljs
module on macOS M1 containers. This base image includes GLIBC 2.31.Error: /lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.33' not found
This same error does not occur on images built for x64 using the bullseye-slim image.
Issue appears to be similiar to #596
Is it possible to perform a similar build change to allow this to function on bullseye based images for arm64?
The text was updated successfully, but these errors were encountered: