deepin 15.4 g++ multilib库缺失
Tofloor
poster avatar
kipade
deepin
2017-07-28 17:39
Author
我的系统是deepin 15.4 64位版本,因为没有g++-multilib所以无法使用-m32编译c++程序
升级到15.4.14后依然没有,
$: g++ --version
g++ (Debian 6.3.0-11) 6.3.0 20170321
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


~$ uname -a
Linux deepin 4.9.0-deepin9-amd64 #1 SMP PREEMPT Deepin 4.9.29-4 (2017-07-17) x86_64 GNU/Linux


~$ sudo apt-get update
命中:1 http://packages.deepin.com/deepin panda InRelease
正在读取软件包列表... 完成


请问,对于此问题,何时修复?我看ubuntu上是有这个包的
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-07-28 17:51
#1
https://bbs.deepin.org/user/30944 看看那是否缺包
Reply View the author
avatar
Island
deepin
2017-07-28 18:04
#2
sudo apt-get install gcc-multilib  g++-multilib lib32z1 lib32ncurses5
Reply View the author
avatar
Island
deepin
2017-07-28 18:05
#3
32位开发工具没有预装  自己装呀
Reply View the author
avatar
Lyvnee
deepin
2017-07-28 18:09
#4
自己apt下不就行了
Reply View the author
avatar
134******40
deepin
2017-07-28 19:40
#5
本帖最后由 jdocker 于 2017-7-28 11:59 编辑

这个估计需要你自己去下载32位的库了。64位系统,默认没有集成gcc、g++的i386版本支持。使用m64不行吗?再不济安装一个32位的Ubuntu14.04或Ubuntu16.04版本的虚拟机,在虚拟机下编译。
Reply View the author
avatar
134******40
deepin
2017-07-28 19:49
#6
apt search g++-multilib 搜索不到这个包,
而sudo apt install g++-multilib 却可以安装,这apt search功能也太弱智了吧。
Reply View the author
avatar
kipade
deepin
2017-07-28 21:02
#7
https://bbs.deepin.org/post/143328
apt search g++-multilib 搜索不到这个包,
而sudo apt install g++-multilib 却可以安装,这apt search功 ...

真有,我search没看见就没有再试。原来还有这个bug
Reply View the author
avatar
kipade
deepin
2017-07-28 21:03
#8
总体说来15.4.1没有15.4流畅,
升级需谨慎
Reply View the author
avatar
134******40
deepin
2017-07-28 21:51
#9
https://bbs.deepin.org/post/143328
真有,我search没看见就没有再试。原来还有这个bug

刚刚试了下,Ubuntu和debian也是搜索不到,安装可以安装,看来这个apt search是bug,需要向debian反馈才行了。
Reply View the author