Comments (3)
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.
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](https://private-user-images.githubusercontent.com/52704891/282412069-cc5da592-6654-4bb1-b10c-745a93626e6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMTU5MzEsIm5iZiI6MTcyMjMxNTYzMSwicGF0aCI6Ii81MjcwNDg5MS8yODI0MTIwNjktY2M1ZGE1OTItNjY1NC00YmIxLWIxMGMtNzQ1YTkzNjI2ZTZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDA1MDAzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlMmVjMjBjYjQ0NmFlNzkxMDRiMzU0MzJlOGI5YjE3MzU0ZTM4MmZhNTc5NzM3OTc0MjQ2NmEwZDg4YTdkZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KxHO7-T1S2dxpORL61Mq300UknKz0Ej5XOQMFGgBGUE)
from sic.
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)
- cargo release did not publish packages HOT 1
- image-script
- drop-shadow
- Enable `webp` encoding support HOT 1
- How to use `stdin`? HOT 4
- Add preview command
- Is it possible to return a blob via stdout HOT 3
- bors is deprecated
- Operation Range of Units HOT 1
- Add apng and animated webp support
- BUG: --glob-input relative path error HOT 2
- BUG: Partial conversion with the Glob method HOT 3
- Add zune-image as an alternative backend
- hung build when doing cargo install --path . / --release HOT 1
- How to create multiple variants of a single image with a single command
- Upgrade sic to `image v0.24.8`
- Upgrade sic to `image v0.25.0`
- Enable sic_core?/nasm (for ravif) HOT 1
- Enable sic_core?/avif-decoder (libdav1d)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sic.