Skip to content
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

glib fix #22

Open
joshgoebel opened this issue Mar 10, 2022 · 3 comments
Open

glib fix #22

joshgoebel opened this issue Mar 10, 2022 · 3 comments

Comments

@joshgoebel
Copy link
Owner

This one looks important maybe: https://github.com/wren-lang/wren-cli/pull/136/files

@clsource
Copy link

clsource commented May 18, 2024

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

https://stackoverflow.com/a/73188338

@joshgoebel
Copy link
Owner Author

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.

@clsource
Copy link

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

https://github.com/NinjasCL/wren-baron/tree/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants