1.rpm -i RealPlayer10GOLD.rpm
但不能运行。后在/usr/local目录下找到它的安装目录:/usr/local/RealPlay,
一运行./usr/local/RealPlay/.realplay出错如下错误信息:
[root@localhost ~]# /usr/local/RealPlayer/realplay
/usr/local/RealPlayer/realplay.bin: error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory
2.查找libstdc++.so.5这个文件
[root@localhost ~]# find /usr/lib libstdc++.so.5
...........
find: sx: 没有那个文件或目录
真是郁闷。接下来用yum下载安装
3.yum install libstdc++.so.5
root@localhost RealPlayer]# yum install libstdc++.s0.5
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 347 kB 00:04
updates-re: ################################################## 1012/1012
Added 32 new packages, deleted 30 old in 2.64 seconds
Parsing package install arguments
No Match for argument: libstdc++.s0.5
Nothing to do
我这里就一直找不到,我只有不停地从试这个命令了。5555555
据说多试几次就好了。继续试,最后还真行了。
[root@localhost RealPlayer]# yum install libstdc++.so.5
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 448 kB 00:59http://fedora.gtlib.cc.gatech.edu/pub/fedora.redhat/linux/extras/4/i386/
repodata/primary.xml.gz:
[Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 728 kB 01:45http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub
/fedora/linux/extras/4/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 814 kB 01:04http://fedora.cat.pdx.edu/linux/extras/4/i386/repodata/primary.xml.gz: [Errno -1]
Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 0 B 00:11http://ftp.uni-bayreuth.de/linux/fedora/linux/extras/4/i386/repodata/primary.xml.gz:
[Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 814 kB 00:48http://mirror.web-ster.com/fedora/extras/4/i386/repodata/primary.xml.gz: [Errno -1]
Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 814 kB 01:00http://mirrors.kernel.org/fedora/extras/4/i386/repodata/primary.xml.gz: [Errno -1]
Metadata file does not match checksum
Trying other mirror.
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for compat-libstdc++-33 to pack into transaction set.
compat-libstdc%2B%2B-33-3 100% |=========================| 2.7 kB 00:00
---> Package compat-libstdc++-33.i386 0:3.2.3-47.fc4 set to be updated
--> Running transaction check
Dependencies Resolved
==========================
Package Arch Version Repository Size
=======================================
Installing:
compat-libstdc++-33 i386 3.2.3-47.fc4 base 228 k
Transaction Summary
=========================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 228 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): compat-libstdc++-3 100% |=========================| 228 kB 00:10
dwarning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
public key not available for compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>"
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: compat-libstdc++-33 ######################### [1/1]
Installed: compat-libstdc++-33.i386 0:3.2.3-47.fc4
Complete!
然后再运行realplay就可以运行通过了。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/106285/viewspace-809770/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/106285/viewspace-809770/