LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1562|回复: 15

用pacman安装mplayer问题?

[复制链接]
发表于 2007-3-26 15:36:42 | 显示全部楼层 |阅读模式
[root@myhost ~]# pacman -S mplayer
:: Synchronizing package databases...

Targets: libmad-0.15.1b-2 libstdc++5-3.3.6-1 codecs-20061022-1 sdl-1.2.11-1
         lame-3.97-1 libtheora-1.0alpha7-1 ttf-bitstream-vera-1.10-5
         xvidcore-1.1.2-1 gpm-1.20.1-6 aalib-1.4rc5-4 libsndfile-1.0.17-1
         jack-audio-connection-kit-0.102.20-2 mplayer-1.0rc1-4

Total Package Size:   24.6 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  libstdc++5: /usr/lib/libstdc++.so.5: exists in filesystem
  libstdc++5: /usr/lib/libstdc++.so.5.0.7: exists in filesystem


errors occurred, no packages were upgraded.

[root@myhost ~]#
发表于 2007-3-26 15:39:52 | 显示全部楼层
你的系统里面已经有了一个/usr/lib/libstdc++.so.5
你查一查这个文件归于哪个包?怕是你自己从别的地方拷过来的吧
回复 支持 反对

使用道具 举报

发表于 2007-3-26 15:51:14 | 显示全部楼层
pacman -S libstdc++5-3.3.6-1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 15:51:28 | 显示全部楼层
请问如何查找?如果找到又如何解决?我没有从别的地方拷过去的。谢谢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 15:56:03 | 显示全部楼层
[root@myhost ~]# pacman -S libstdc++5-3.3.6-1
libstdc++5-3.3.6-1: not found in sync db
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 16:11:42 | 显示全部楼层
[root@myhost ~]# mv /usr/lib/libstdc++.so.5 /root
[root@myhost ~]# mv /usr/lib/libstdc++.so.5.0.7 /root
[root@myhost ~]# pacman -S mplayer

Targets: libmad-0.15.1b-2 libstdc++5-3.3.6-1 codecs-20061022-1 sdl-1.2.11-1
         lame-3.97-1 libtheora-1.0alpha7-1 ttf-bitstream-vera-1.10-5
         xvidcore-1.1.2-1 gpm-1.20.1-6 aalib-1.4rc5-4 libsndfile-1.0.17-1
         jack-audio-connection-kit-0.102.20-2 mplayer-1.0rc1-4

Total Package Size:   24.6 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
installing libmad... done.
installing libstdc++5... done.
installing codecs... done.
installing sdl... done.
installing lame... done.
installing libtheora... done.
installing ttf-bitstream-vera... done.
Updating font cache... done.
installing xvidcore... done.
installing gpm... done.
installing aalib... done.
installing libsndfile... done.
installing jack-audio-connection-kit... done.

--> The audio server comes with a daemon script that runs it as root.
--> Configuration happens in /etc/conf.d/jack-audio-connection-kit and is
--> documented there. If you like to run it as normal user you can
--> download qjackctl and control the server with a gui.

--> NOTE: Running jack as root to enable realtime capabilities isn't
--> needed any longer. As of kernel-2.6.12 and pam > 0.80-2 you can
--> achieve the rights to run real-time on a per group basis, which is
--> controlled by /etc/security/limits.conf

installing mplayer... done.
==> mplayer now has optional lirc support, install lirc if you want to use it
[root@myhost ~]# mplayer
mplayer: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib                                                               /libldap-2.3.so.0)
回复 支持 反对

使用道具 举报

发表于 2007-3-26 16:56:36 | 显示全部楼层
download  libstdc++5
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 19:33:50 | 显示全部楼层
[root@myhost ~]# pacman -S libstdc++5
:: libstdc++5-3.3.6-1: is up to date.  Upgrade anyway? [Y/n] y

Targets: libstdc++5-3.3.6-1

Total Package Size:   0.3 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading libstdc++5... done.
[root@myhost ~]# mplayer
mplayer: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libldap-2.3.so.0)
[root@myhost ~]#
回复 支持 反对

使用道具 举报

发表于 2007-3-26 20:40:59 | 显示全部楼层
一个-f 参数就OK了
pacman -Sf  mplayer
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-26 21:57:01 | 显示全部楼层
[root@myhost ~]# pacman -Sf mplayer
:: mplayer-1.0rc1-4: is up to date.  Upgrade anyway? [Y/n] y

Targets: mplayer-1.0rc1-4

Total Package Size:   7.7 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
upgrading mplayer... done.
==> mplayer now has optional lirc support, install lirc if you want to use it
[root@myhost ~]# mplayer
mplayer: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libldap-2.3.so.0)
[root@myhost ~]#
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表