Today’s problem: /usr/bin/LD: skipping incompatible
QT reported an error when connecting a and so files
Analysis: the compiler’s error message is clear: compatibility issues
Analysis method:
File XXX. A “or” file ” xxx.so Take a look at whether the library version is 32-bit or 64 bit, or arm version or… And so on.
View so file information: 64 bit
user@ubuntu :~/Documents/CloudBox/VersionControlServer/code/bin$ file liblht_ coreframeworkD.so .1.0.0
liblht_ coreframeworkD.so .1.0.0: ELF
64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x395ec03d717504939d7e6c93f6f1132ea7830ad2, not stripped
View the system information: 64 bit is not displayed, basically 32-bit
user@ubuntu :~/Documents/CloudBox/VersionControlServer/code/bin$ uname -a Linux ubuntu 3.2.0-29-generic-pae # 46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux
Check the GUI system information: it’s really 32-bit.
Solutions.
1) recompile the 32-bit so file
2) switch to 64-bit linux
Read More:
- How to Solve “/usr/bin/ld: skipping incompatible”
- Ubutnu Qt Unable to start process Error: “make“ -f ‘ /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit sta
- Taro Install Error: permission denied, symlink ‘../lib/node_modules/@tarojs/cli/bin/taro‘ -> ‘/usr/local/bin/tar
- Bazel error executing command /usr/bin/gcc @bazel-out/k8-fastbuild/bin/flashroute/flashroute-2.p
- /usr/bin/ssh-copy-id: ERROR [How to Solve]
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- [Solved] MindSpore Error: Select GPU kernel op * fail! Incompatible data type
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- [Solved] error [email protected]: The engine “node” is incompatible with this module.
- visual studio Error D8016 ‘/ZI’ and ‘/Gy-‘ command-line options are incompatible
- [Solved] Installation failed due to: ‘INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.
- [Solved] Neo4j Error: Error occurred during initialization of VM Incompatible minimum and maximum heap sizes spec
- [Solved] VScode Error: undefined reference to ‘WinMain’ collect2.exe: error: ld returned 1 exit status
- GCC Error:(.text+0x24): undefined reference to `main‘collect2: error: ld returned 1 exit status [Solved]
- [Solved] Yarn install Error: “error Found incompatible module.”
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- [Solved] VsCode + gfortran Compiler Error: error: ld returned 1 exit status
- VSCode Error: collect2.exe: error: ld returned 1 exit status
- Error: stat_bin() must not be used with a y aesthetic.