realplay 10在fedora core 4下不能執行的解決辦法

zenzuguo發表於2000-01-01

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

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:59

repodata/primary.xml.gz:
[Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 728 kB 01:45

/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:04 [Errno -1]
Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 0 B 00:11
[Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 814 kB 00:48 [Errno -1]
Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 814 kB 01:00 [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
--&gt Populating transaction set with selected packages. Please wait.
---&gt Downloading header for compat-libstdc++-33 to pack into transaction set.
compat-libstdc%2B%2B-33-3 100% |=========================| 2.7 kB 00:00
---&gt Package compat-libstdc++-33.i386 0:3.2.3-47.fc4 set to be updated
--&gt 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
Importing GPG key 0x4F2A6FD2 "Fedora Project <>"
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就可以執行透過了。

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/106285/viewspace-809770/,如需轉載,請註明出處,否則將追究法律責任。

相關文章