Open patrickelectric opened 5 years ago
Need a bit more information, but it looks like maybe you're trying to cross compile and it's trying to link against libudev.so on the host instead of the target?
I can't speak to @patrickelectric, but I have been having that same issue. I think you are right about the cause, how do I make it link against libudev.so on the target? I am targeting the same toolchain as patrick.
I dont remember right now what I did to fix, but for now I'm using musl.
It fails to compile with:
/usr/lib/libudev.so: file not recognized: File format not recognized
cargo build --target=armv7-unknown-linux-gnueabihf
Any idea of how to solve that ?My cargo file