ffmpeg-build
ffmpeg-build copied to clipboard
GLIBC version for linux?
This is such a cool project. I used it to build binaries, but got a report from centos 8 user with the following error launching:
/lib64/libm.so.6 version 'GLIBC_2.29' not found, required by /test/ffprobe.
Here is a test to reproduce using your binaries (which is supposed to print the ffmpeg -version message) (put ffmpeg binary in same directory as dockerfile) :
Dockerfile
from centos:8
workdir /test
copy ffmpeg /test/
run ./ffmpeg -version
then build the above docker file, which should fail with the above error:
docker build .
I am working on a fix, but thought I'd give you a heads up.
It appears that the correct thing to do is download an earlier version of glibc and link against that.. but not sure, as I'm not a C guy.
Also, your donate page is 404 on your web page, which is linked on this github page under Sponsor this project.
And a feature request would be to build a fat binary mac aarch_64/arm64.
When compiling a (somewhat) portable program you must use the oldest possible distro
If ffmpeg compiles OK with Centos 7 then you should use centos 7
Otherwise you'll see errors like that, it just means that compiled apps require a newer glibc version than the one installed
You need to build on the oldest possible distro.
For my use case, I used to build on Ubuntu 18.04, which has a very old glibc and I've not heard of any problems running fpcalc. I've upgraded to Ubuntu 20.04 last year, essentially removing support for CentOS 7/8, but that's OK for me.
Ah. Thanks for the quick reply. Will try that approach and will reply with whatever solution we come up with. Thanks!