I am using Nanomsg for IPC APIs in a Rust program. Native compilation works without any errors, whereas when I cross compile for armv7-unknown-linux-gnueabihf triple, I get error as shown in the image saying
I finally managed to run the application on ARM processor. I had to recompile the whole external library and its dependencies, but this time using 'arm-linux-gnueabihf-gcc' compiler by changing the compiler in CMakeLists.txt file.
But I am wondering if there is an option to include the paths for the rustc to search the libraries.