/opt/Qt5.6.3/5.6.3/gcc_64/lib/libQt5Gui.so: file not recognized: File format not recognized
-
Hi, I am getting the above error while building source code from the Ubuntu Terminal. Please help me on the same.
attaching logs:
/opt/poky/2.5.1/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/real-ld: warning: library search path "/usr/lib64" is unsafe for cross-compilation
/opt/Qt5.6.3/5.6.3/gcc_64/lib/libQt5Gui.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile.bytearraystreams_test:203: recipe for target 'bytearraystreams_test' failed
make[3]: *** [bytearraystreams_test] Error 1Any pointers/link will be helpful.
-
Hi and welcome to devnet,
Looks like you are cross-compiling for ARM so why are you trying to link against your custom installed Qt for x86 ?
-
Hi and welcome to devnet,
Looks like you are cross-compiling for ARM so why are you trying to link against your custom installed Qt for x86 ?
@SGaist Thank you for the help.