请问如何在deepin上安装32 bit依赖库
Tofloor
poster avatar
dickxia
deepin
2017-06-22 01:14
Author
wine2.10安装出现依赖库问题
错误如下:error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

Reply Favorite View the author
All Replies
avatar
dickxia
deepin
2017-06-22 01:15
#1
附:因为crossover内的wine版本太低,所以尝试用官方wine+原生运行库
Reply View the author
avatar
jingle
deepin
2017-06-22 01:22
#2
https://bbs.deepin.org/post/141402
附:因为crossover内的wine版本太低,所以尝试用官方wine+原生运行库

https://bbs.deepin.org/user/54457
Reply View the author
avatar
xiewei
deepin
2017-06-22 01:34
#3
本帖最后由 xiewei 于 2017-6-21 17:40 编辑

要在32位的系统上面编译
或者你找下如何配置在64位系统编译32位的,gcc 需要添加 -m32的参数
Reply View the author
avatar
rdlg
deepin
2017-06-22 02:06
#4
  1. sudo apt-get install gcc-multilib
Copy the Code

后面还有很多依赖的库都需要i386的 自己编译有点麻烦 要仔细看不然有可能把系统搞挂
Reply View the author
avatar
comzhong
deepin
2017-06-22 09:20
#5
本帖最后由 comzhong 于 2017-6-22 01:23 编辑

         要安装32位库,在安装64位库命令后面增加“:i386”,比如:
sudo apt-get install libxi:i386

Reply View the author
avatar
lcw0268
deepin
2017-06-22 10:00
#6
sudo dpkg --add-architecture i386

Reply View the author
avatar
dickxia
deepin
2017-06-22 19:55
#7
https://bbs.deepin.org/post/141402
后面还有很多依赖的库都需要i386的 自己编译有点麻烦 要仔细看不然有可能把系统搞挂 ...

谢谢,正在编译。
Reply View the author