kornelski / cavif-rs

AVIF image creator in pure Rust
https://lib.rs/cavif
BSD 3-Clause "New" or "Revised" License
570 stars 27 forks source link

cannot compile on debian 32bit #75

Closed dioskey closed 2 months ago

dioskey commented 1 year ago

Hi, I'm trying to compile it on a debian 11 32bit with no success, trying to compile on 64bit there are no problems at all.

Here is the notice that comes up trying ti compile: undefined reference to "time64" (and gmtime64).

I need to use it on an old webserver to add avif support.

Is there a way to compile it in 32bit full static? Thanks

kornelski commented 1 year ago

You can try compiling it for the MUSL target, which will be compatible with any Debian.

For libc targets Rust requires old-but-not-completely-obsolete versions of libc, which likely excludes older Debians.