alick 于 2011-08-16 18:58:20发表:
麻烦楼主修改标题,注上“已解决”
wshong2005 于 2011-08-16 09:00:16发表:
找了一个FC12就可以了晕
dchwlinux 于 2011-08-16 07:09:16发表:
fedora15的也行
alick 于 2011-08-15 23:38:36发表:
看来是libgucharmap 库的版本不匹配,系统上是7,那个stardict包依赖6. 解决方案应该是换一个stardict软件包,不要用那个带fc8的,试试更新的,比如fc14的。
dchwlinux 于 2011-08-15 14:46:56发表:
这可麻烦了,这个包不吃这一套,那只能把gucharmap降级,卸了装fc8里的gucharmap,然后装stardict,包毕竟太老了,我担心降级会产生更多麻烦。不降级的话就加--force --nodeps强行安装,好不好用那是后话。另外stardict我看sorceforge上的意思已经停止更新了好像,然后它给推荐了几个词典,你不妨试一下,golden dict听说不错,支持stardict的词典格式。 http://stardict.sourceforge.net/
wshong2005 于 2011-08-15 12:22:19发表:
6楼:我的也是6.0可是这样也不 行啊,是不是我有做错的? 下面是我做的 [root@bogon tmp]# rpm -ihv stardict-3.0.1-1.fc8.i386.rpm error: Failed dependencies: libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386 [root@bogon tmp]# yum search libgucharmap Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * updates: centos.tt.co.kr ============================ Matched: libgucharmap ============================= gucharmap-devel.i686 : Libraries and headers for libgucharmap [root@bogon tmp]# yum install gucharmap-devel.i686 Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * updates: centos.tt.co.kr Setting up Install Process Package gucharmap-devel-2.28.2-2.el6.i686 already installed and latest version Nothing to do [root@bogon tmp]# rpm -ql gucharmap|grep lib /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.7.0.0 [root@bogon tmp]# rpm -ql libgucharmap|grep lib package libgucharmap is not installed [root@bogon tmp]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6 [root@bogon tmp]# rpm -ihv stardict-3.0.1-1.fc8.i386.rpm error: Failed dependencies: libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386 [root@bogon tmp]# yum search libgucharmap Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * updates: centos.tt.co.kr ============================ Matched: libgucharmap ============================= gucharmap-devel.i686 : Libraries and headers for libgucharmap [root@bogon tmp]# yum search gucharmap Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * updates: centos.tt.co.kr ============================== Matched: gucharmap ============================== gucharmap-devel.i686 : Libraries and headers for libgucharmap gucharmap.i686 : Unicode character picker and font browser [root@bogon tmp]# rpm -ql gucharmap|grep lib /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.7.0.0 [root@bogon tmp]# rpm -ql libgucharmap| grep lib package libgucharmap is not installed [root@bogon tmp]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6 ln: creating symbolic link `/usr/lib/libgucharmap.so.6': File exists [root@bogon tmp]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6 ln: creating symbolic link `/usr/lib/libgucharmap.so.6': File exists [root@bogon tmp]# man ln Formatting page, please wait... [root@bogon tmp]# ln -fs /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6 [root@bogon tmp]# rmp -ivh ./stardict-3.0.1-1.fc8.i386.rpm -bash: rmp: command not found [root@bogon tmp]# rpm -ihv ./stardict-3.0.1-1.fc8.i386.rpm error: Failed dependencies: libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386 [root@bogon tmp]#
eku123 于 2011-08-15 11:36:58发表:
sudo yum localinstall *.rpm
dchwlinux 于 2011-08-15 11:14:59发表:
[i=s] 本帖最后由 dchwlinux 于 2011-8-15 11:24 编辑 [/i][redhat@centos ~]$ yum search libgucharmap Loaded plugins: downloadonly, fastestmirror, refresh-packagekit ======================= Matched: libgucharmap ======================== gucharmap-devel.i686 : Libraries and headers for libgucharmap [redhat@centos ~]$ [redhat@centos ~]$ [redhat@centos ~]$ yum search gucharmap Loaded plugins: downloadonly, fastestmirror, refresh-packagekit ========================= Matched: gucharmap ========================= gucharmap-devel.i686 : Libraries and headers for libgucharmap gucharmap.i686 : Unicode character picker and font browser [redhat@centos ~]$ [redhat@centos ~]$ [redhat@centos ~]$ rpm -ql gucharmap|grep lib /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.7.0.0 [redhat@centos ~]$ [redhat@centos ~]$ [redhat@centos ~]$ rpm -ql libgucharmap|grep lib package libgucharmap is not installed [redhat@centos ~]$ [redhat@centos ~]$ [redhat@centos ~]$ su - 密码: [root@centos ~]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6 [root@centos ~]# 我用的centos6,比较新,你看看你的是不是和我一样太新了,一样的话建个软连接就行了。软件没装就装上吧。
opius 于 2011-08-15 08:42:54发表:
楼二位说的有理
wshong2005 于 2011-08-14 16:31:44发表:
[root@bogon tmp]# yum install stardict Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * updates: centos.tt.co.kr Setting up Install Process No package stardict available. 没找到包啊,是不是源的问题?
alick 于 2011-08-14 13:37:49发表:
用 yum 不要用 rpm,能自动解决依赖关系的:[code]yum install stardict[/code]
zjsxwc 于 2011-08-14 13:15:41发表:
看E文提示啊 :需要 libgucharmap.so 那你就 yum list *libgucharmap* yum install libgucharmap 吧.(没玩过Redhat,好像是这命令)
alick 于 2011-08-16 18:58:20发表:
麻烦楼主修改标题,注上“已解决”
wshong2005 于 2011-08-16 09:00:16发表:
找了一个FC12就可以了晕
dchwlinux 于 2011-08-16 07:09:16发表:
fedora15的也行
alick 于 2011-08-15 23:38:36发表:
看来是libgucharmap 库的版本不匹配,系统上是7,那个stardict包依赖6.
解决方案应该是换一个stardict软件包,不要用那个带fc8的,试试更新的,比如fc14的。
dchwlinux 于 2011-08-15 14:46:56发表:
这可麻烦了,这个包不吃这一套,那只能把gucharmap降级,卸了装fc8里的gucharmap,然后装stardict,包毕竟太老了,我担心降级会产生更多麻烦。不降级的话就加--force --nodeps强行安装,好不好用那是后话。另外stardict我看sorceforge上的意思已经停止更新了好像,然后它给推荐了几个词典,你不妨试一下,golden dict听说不错,支持stardict的词典格式。
http://stardict.sourceforge.net/
wshong2005 于 2011-08-15 12:22:19发表:
6楼:我的也是6.0可是这样也不 行啊,是不是我有做错的?
下面是我做的
[root@bogon tmp]# rpm -ihv stardict-3.0.1-1.fc8.i386.rpm
error: Failed dependencies:
libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386
[root@bogon tmp]# yum search libgucharmap
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
============================ Matched: libgucharmap =============================
gucharmap-devel.i686 : Libraries and headers for libgucharmap
[root@bogon tmp]# yum install gucharmap-devel.i686
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Setting up Install Process
Package gucharmap-devel-2.28.2-2.el6.i686 already installed and latest version
Nothing to do
[root@bogon tmp]# rpm -ql gucharmap|grep lib
/usr/lib/libgucharmap.so.7
/usr/lib/libgucharmap.so.7.0.0
[root@bogon tmp]# rpm -ql libgucharmap|grep lib
package libgucharmap is not installed
[root@bogon tmp]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6
[root@bogon tmp]# rpm -ihv stardict-3.0.1-1.fc8.i386.rpm
error: Failed dependencies:
libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386
[root@bogon tmp]# yum search libgucharmap
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
============================ Matched: libgucharmap =============================
gucharmap-devel.i686 : Libraries and headers for libgucharmap
[root@bogon tmp]# yum search gucharmap
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
============================== Matched: gucharmap ==============================
gucharmap-devel.i686 : Libraries and headers for libgucharmap
gucharmap.i686 : Unicode character picker and font browser
[root@bogon tmp]# rpm -ql gucharmap|grep lib
/usr/lib/libgucharmap.so.7
/usr/lib/libgucharmap.so.7.0.0
[root@bogon tmp]# rpm -ql libgucharmap| grep lib
package libgucharmap is not installed
[root@bogon tmp]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6
ln: creating symbolic link `/usr/lib/libgucharmap.so.6': File exists
[root@bogon tmp]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6
ln: creating symbolic link `/usr/lib/libgucharmap.so.6': File exists
[root@bogon tmp]# man ln
Formatting page, please wait...
[root@bogon tmp]# ln -fs /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6
[root@bogon tmp]# rmp -ivh ./stardict-3.0.1-1.fc8.i386.rpm
-bash: rmp: command not found
[root@bogon tmp]# rpm -ihv ./stardict-3.0.1-1.fc8.i386.rpm
error: Failed dependencies:
libgucharmap.so.6 is needed by stardict-3.0.1-1.fc8.i386
[root@bogon tmp]#
eku123 于 2011-08-15 11:36:58发表:
sudo yum localinstall *.rpm
dchwlinux 于 2011-08-15 11:14:59发表:
[i=s] 本帖最后由 dchwlinux 于 2011-8-15 11:24 编辑 [/i]
[redhat@centos ~]$ yum search libgucharmap
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit
======================= Matched: libgucharmap ========================
gucharmap-devel.i686 : Libraries and headers for libgucharmap
[redhat@centos ~]$
[redhat@centos ~]$
[redhat@centos ~]$ yum search gucharmap
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit
========================= Matched: gucharmap =========================
gucharmap-devel.i686 : Libraries and headers for libgucharmap
gucharmap.i686 : Unicode character picker and font browser
[redhat@centos ~]$
[redhat@centos ~]$
[redhat@centos ~]$ rpm -ql gucharmap|grep lib
/usr/lib/libgucharmap.so.7
/usr/lib/libgucharmap.so.7.0.0
[redhat@centos ~]$
[redhat@centos ~]$
[redhat@centos ~]$ rpm -ql libgucharmap|grep lib
package libgucharmap is not installed
[redhat@centos ~]$
[redhat@centos ~]$
[redhat@centos ~]$ su -
密码:
[root@centos ~]# ln -s /usr/lib/libgucharmap.so.7 /usr/lib/libgucharmap.so.6
[root@centos ~]#
我用的centos6,比较新,你看看你的是不是和我一样太新了,一样的话建个软连接就行了。软件没装就装上吧。
opius 于 2011-08-15 08:42:54发表:
楼二位说的有理
wshong2005 于 2011-08-14 16:31:44发表:
[root@bogon tmp]# yum install stardict
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Setting up Install Process
No package stardict available.
没找到包啊,是不是源的问题?
alick 于 2011-08-14 13:37:49发表:
用 yum 不要用 rpm,能自动解决依赖关系的:[code]yum install stardict[/code]
zjsxwc 于 2011-08-14 13:15:41发表:
看E文提示啊 :需要 libgucharmap.so
那你就
yum list *libgucharmap*
yum install libgucharmap
吧.(没玩过Redhat,好像是这命令)