urbeker@programming.devtoRust@programming.dev•New to Rust: How does Rust handle dynamic libraries
8·
1 year agoDynamic libs in rust are supported but only through a c abi and it’s a bit complicated.
Looking at av1an I couldn’t see anything showing it is dynamicly loading anything, it looks to statically link to ffmpeg according to the build instructions.
OK so looking at that PR the reason you aren’t getting any errors is because it looks like one of the dependencies is trying to load python and thats where the error occurs. Rust would normally give you a pretty good stack trace but because this is happening in external code it can’t and you won’t fix it in the av1an codebase. vscode likely has its path setup differently allowing it to find python. I would double check the paths inside the vscode terminal and wherever you are running it.