cavif-rs icon indicating copy to clipboard operation
cavif-rs copied to clipboard

cannot compile on debian 32bit

Open dioskey opened this issue 2 years ago • 1 comments

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

dioskey avatar Jun 01 '23 10:06 dioskey

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.

kornelski avatar Jun 01 '23 14:06 kornelski