主持人:Ubuntu 15.04
汇编出现以下消息:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
我检查了以下问题和答案,但它没有回答我的问题。
How to Compile 32-bit Apps on 64-bit Ubuntu?
我尝试安装帖子中提到的依赖项。
sudo apt-get install lib32gcc-4.8-dev
我弹出了以下内容。
The following packages have unmet dependencies:
lib32gcc-4.8-dev : Depends: libx32gcc1 (>= 1:4.8.4-1ubuntu15) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.4-1ubuntu15) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
当我安装以下依赖项时:
sudo apt-get install gcc-multilib
The following packages have unmet dependencies:
gcc-multilib : Depends: gcc-4.9-multilib (>= 4.9.2-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
如果您有任何想法,请提供建议。