Coder Social home page Coder Social logo

Comments (3)

foresterre avatar foresterre commented on August 29, 2024 1

Probably musl can work.

For this, make sure you have the musl tools installed.
On Ubuntu (not sure about mac), you can install these with apt install musl-tools.
Then, you need the musl target for your current Rust toolchain: rustup target add x86_64-unknown-linux-musl.
Finally, build a sic binary by running: cargo build --release --target x86_64-unknown-linux-musl

For your convenience (but feel free to build your own of course!), I made a build with musl (latest commit though!).

sic-x86_64-unknown-linux-musl-0.22.4+7f5da4.zip

If you do want a version with an older glibc, you could also try to build on the webserver itself, or use a docker image. Considering the MSRV of sic is 1.66, you could for example try one of the official Rust 1.66.1 docker images. I couldn't quickly find an image which had glibc 2.{32, 33, 34}:

  • rust:1.71-slim has debian/glibc 2.31-13+deb11u6
  • rust:1.72-slim has debian/glibc 2.36-9+deb12u1

from sic.

felixranesberger avatar felixranesberger commented on August 29, 2024

This is the error I get, when running the sic-x86_64-unknown-linux-gnu-v0.22.4.tgz binary.

Screenshot 2023-11-13 at 10 02 09

from sic.

felixranesberger avatar felixranesberger commented on August 29, 2024

Due to the old glibc version (2.31), we had to build a musl version inside a docker container (as you suggested).
It works for now, but I'll make sure that my hoster updates the outdated version and then I'll switch to your version.

Thanks for the quick response 👍

from sic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.