p7zip没有原生64位版本?(抓狂中)
Tofloor
poster avatar
xliang9550
deepin
2012-12-10 01:19
Author
如题,想找一款支持分卷的压缩软件(Linux自带tar是不支持分卷的,只能借助管道和split分割压缩文件,zip与之类似),RAR的Linux版是比较完善的,但它是商业软件。最近看到p7zip,和Windows下的7zip兼容性相当好。

先在Windows下下载了p7zip的rpm安装包,复制到Linux系统上,用yum安装,提示什么校验错误(不知为何)。于是重新用wget下载,运行yum(rpm也可以)安装之。两份rpm文件都在,回去比对一下Hash……

接下来运行7za,提示什么ELF Interpreter错误,查了一下,是64位系统缺少glibc.i686运行库,又搜到了适用于64位Linux的glibc.i686的rpm文件,但是这个包昨天折腾了一整天也没装上……

系统是CentOS 6.3 64位。运行Gaussian(正版)计算用的。主要想解决和Windows主机交互文件的问题,系统默认不支持NTFS或exFAT。
Reply Favorite View the author
All Replies
woodelf
deepin
2012-12-10 01:41
#1
你下载的p7zip本身就是32位版本吧?
Reply View the author
xliang9550
deepin
2012-12-10 01:47
#2
我下载的这个:
p7zip-9.20.1-1.el6.rf.x86_64.rpm
Reply View the author
woodelf
deepin
2012-12-10 01:54
#3
看看你是否有未满足的依赖,我查了一下,p7zip的直接依赖只有yasm,其他的次级依赖我没查询。
另外,安装本地rpm最好用rpm命令安装,从网络安装rpm才用yum。
以下是我安装的p7zip及其相关文件,可以看出来,就是64位的。
1.png
Reply View the author
xliang9550
deepin
2012-12-10 02:22
#4
帮我分析一下出错信息:

1,用rpm安装下载好的glibc.i686包

[root@localhost LR]# rpm -i glibc-2.12-1.80.el6.i686.rpm
error: Failed dependencies:
        glibc-common = 2.12-1.80.el6 is needed by glibc-2.12-1.80.el6.i686
        libfreebl3.so is needed by glibc-2.12-1.80.el6.i686
        libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.80.el6.i686

2,用yum在线安装

[root@localhost LR]# yum install glibc.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* c6-media:
* centosplus: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
base                                                     | 3.7 kB     00:00     
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
Reply View the author
proudzhu
deepin
2012-12-10 05:06
#5
帮我分析一下出错信息:

1,用rpm安装下载好的glibc.i686包

[root@localhost LR]# rpm -i glibc-2.12-1.80.el6.i686.rpm
error: Failed dependencies:
        glibc-common = 2.12-1.80.el6 is needed by glibc-2.12-1.80.el6.i686
        libfreebl3.so is needed by glibc-2.12-1.80.el6.i686
        libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.80.el6.i686

2,用yum在线安装

[root@localhost LR]# yum install glibc.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* c6-media:
* centosplus: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
base                                                     | 3.7 kB     00:00     
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.1,错误里说依赖没装...glibc-common,libfreebl3.so(在arch下属于nss包),这种东西源里面应该都有的吧
2,没用过centos,但是你这个用的本地源?c6-media是什么东西?从镜像中安装?

PS:而且还是root用户.......
Reply View the author
xliang9550
deepin
2012-12-10 06:13
#6
感谢回答……
我在执行命令之前su了一下。
前几天改过软件源设置。
明天继续折腾。
Reply View the author