the problem is always whether those libraries will allow themselves to be linked statically as well, even if you can get OpenCV linked statically. it’s a legal question unfortunately.
dynamic linking isn’t such a problem. you just have to package/ship all the dependencies (except those you can fully expect to be on another system, such as libc), and then make sure your program can find them.
OK @crackwitz, I will test a last time a static compilation with gstreamer instead of FFMPEG and keep you informed.
If it doesn’t work, I will come back to a more standard compilation (which works on PiZero) with shared libraries.
Just a message to conlude.
I did not succeed in running my code without errors even if the static compilation has worked without errors.
So I compiled opencv in the standard way for PiZero (dynamic linking) and I’ve moved all needed libs to others PiZero for deploying my program.
Thanks again to all for all your answers.