Open joshgoebel opened 2 years ago
Also I receive and error
./wrenc: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./wrenc)
wget -c https://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz
tar -zxvf glibc-2.29.tar.gz
mkdir glibc-2.29/build
cd glibc-2.29/build
../configure --prefix=/opt/glibc
make
make install
Is there a take away here? I forget how the binaries we publish are linked, but should be easy enough to build the entire wrenc
locally as well on most environments - against whatever glibc your distro bundles. I think.
I ended using an old ubuntu version for the glibc
FROM ubuntu:13.04
RUN sed -i 's/archive.ubuntu/old-releases.ubuntu/g' /etc/apt/sources.list
RUN apt-get update
RUN apt-get install build-essential -y
COPY . /wrenc
WORKDIR /wrenc/projects/make/
RUN make config=release_64bit
RUN /wrenc/bin/wrenc -v
# So we can execute commands
# and do not exits
CMD tail -f /dev/null
This one looks important maybe: https://github.com/wren-lang/wren-cli/pull/136/files