PDA

View Full Version : skype


yorelchr
23rd January 2012, 06:34 PM
Hello everyone,

I've followed Krellan's instructions () for installing skype on Fedora12-64bit, but when I tried to run skype I got the following message:

./skype: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

I don't want to do any mistake so I prefer asking you what I should do...

Thanks a lot

yorelchr

roelj
23rd January 2012, 06:55 PM
Find out what you're missing by doing:
yum provides "*/libasound.so.2"

You probably need the 32-bit library, so:
alsa-lib-1.0.24-2.fc15.i686

yorelchr
23rd January 2012, 07:18 PM
hi Roelj,

I've typed the command yum provides "*/libasound.so.2" and here's what I obtained


Dropbox | 951 B 00:00
Dropbox/primary | 1.5 kB 00:00
Dropbox 4/4
adobe-linux-i386 | 951 B 00:00
adobe-linux-x86_64 | 951 B 00:00
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml
Trying other mirror.
google-chrome | 951 B 00:00
google-chrome/primary | 1.4 kB 00:00
google-chrome 3/3
updates | 4.7 kB 00:00
Dropbox/filelists | 909 B 00:00
adobe-linux-i386/filelists | 140 kB 00:00
adobe-linux-x86_64/filelists | 611 B 00:00
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/4b9e4fd6887b081836d522f1d616731814a47d302c0b5f9694 0d47a9278d9336-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/4b9e4fd6887b081836d522f1d616731814a47d302c0b5f9694 0d47a9278d9336-filelists.sqlite.bz2
Trying other mirror.
Error: failure: repodata/4b9e4fd6887b081836d522f1d616731814a47d302c0b5f9694 0d47a9278d9336-filelists.sqlite.bz2 from fedora: [Errno 256] No more mirrors to try.

In fact, when I typed the long command as mentionned in Krellan's post, for the 32-libraries, I had a lot of "trying other mirror" messages...but I thought it was ok since I got no error message at the end...I thought that maybe, trying other mirrors, everything went ok....but maybe not...How can I check if I have all the 32-bit libraries needed by skype?

what is your last command for exactly?
thanks a lot

roelj
23rd January 2012, 07:22 PM
You're having problems with a repository which is (I think) holding you back from getting the 32-bit libraries. I'd suggest you upgrade Fedora.

Try
yum install alsa-lib.i686

Alternatively you could use a automatic installer to install Skype for you.
I'm not sure if it will work for Fedora 12. Here's the link:
http://www.dnmouse.org/autoten/

yorelchr
23rd January 2012, 07:35 PM
[root@mediceo6NB skype-2.2.0.35]# yum install alsa-lib.i686
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package alsa-lib.i686 0:1.0.23-1.fc12 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== ================================================
Package Arch Version Repository Size
================================================== ================================================== ================================================
Installing:
alsa-lib i686 1.0.23-1.fc12 updates 367 k

Transaction Summary
================================================== ================================================== ================================================
Install 1 Package(s)

Total size: 367 k
Installed size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : alsa-lib-1.0.23-1.fc12.i686 1/1

Installed:
alsa-lib.i686 0:1.0.23-1.fc12

Complete!

then

[root@mediceo6NB skype-2.2.0.35]# ./skype
./skype: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory

:-(

roelj
23rd January 2012, 07:39 PM
If you don't want to use an auto installer go on like this:


yum provides "*/<library name>"

Where <library name> is the *.so.*. In this case:
yum provides "*/libXv.so.1"

Then install the i686 package that it outputs.

yorelchr
23rd January 2012, 07:47 PM
ok, as root I did:


[root@mediceo6NB skype-2.2.0.35]# yum provides "*/libXv.so.1"
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml
Trying other mirror.
libXv-1.0.5-1.fc12.i686 : X.Org X11 libXv runtime library
Repo : fedora
Matched from:
Filename : /usr/lib/libXv.so.1



libXv-1.0.5-1.fc12.x86_64 : X.Org X11 libXv runtime library
Repo : fedora
Matched from:
Filename : /usr/lib64/libXv.so.1



libXv-1.0.5-1.fc12.x86_64 : X.Org X11 libXv runtime library
Repo : installed
Matched from:
Filename : /usr/lib64/libXv.so.1

then :


yum install libXv-1.0.5-1.fc12.i686
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXv.i686 0:1.0.5-1.fc12 set to be installed
--> Processing Dependency: libXext.so.6 for package: libXv-1.0.5-1.fc12.i686
--> Processing Dependency: libX11.so.6 for package: libXv-1.0.5-1.fc12.i686
--> Running transaction check
---> Package libX11.i686 0:1.3-1.fc12 set to be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.3-1.fc12.i686
---> Package libXext.i686 0:1.1-2.fc12 set to be installed
--> Running transaction check
---> Package libxcb.i686 0:1.5-1.fc12 set to be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.5-1.fc12.i686
--> Running transaction check
---> Package libXau.i686 0:1.0.5-1.fc12 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== ================================================
Package Arch Version Repository Size
================================================== ================================================== ================================================
Installing:
libXv i686 1.0.5-1.fc12 fedora 20 k
Installing for dependencies:
libX11 i686 1.3-1.fc12 fedora 585 k
libXau i686 1.0.5-1.fc12 fedora 21 k
libXext i686 1.1-2.fc12 updates 33 k
libxcb i686 1.5-1.fc12 updates 103 k

Transaction Summary
================================================== ================================================== ================================================
Install 5 Package(s)

Total size: 763 k
Total download size: 627 k
Installed size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/libX11-1.3-1.fc12.i686.rpm: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/libX11-1.3-1.fc12.i686.rpm
Trying other mirror.
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/libXau-1.0.5-1.fc12.i686.rpm: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/libXau-1.0.5-1.fc12.i686.rpm
Trying other mirror.
http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/libXv-1.0.5-1.fc12.i686.rpm: [Errno 14] HTTP Error 404 : http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/libXv-1.0.5-1.fc12.i686.rpm
Trying other mirror.


Error Downloading Packages:
libXau-1.0.5-1.fc12.i686: failure: Packages/libXau-1.0.5-1.fc12.i686.rpm from fedora: [Errno 256] No more mirrors to try.
libXv-1.0.5-1.fc12.i686: failure: Packages/libXv-1.0.5-1.fc12.i686.rpm from fedora: [Errno 256] No more mirrors to try.
libX11-1.3-1.fc12.i686: failure: Packages/libX11-1.3-1.fc12.i686.rpm from fedora: [Errno 256] No more mirrors to try.

I don't understand what's the problem with these mirrors....and error 404 ...is it coming from my pc?

roelj
23rd January 2012, 07:54 PM
Since Fedora 12 is end-of-life, the mirrors are probably being cleared.

For example:
http://ftp.tudelft.nl/download.fedora.redhat.com/linux/releases/12/

It's empty. Therefore, it cannot retrieve anything from it.

Upgrading to Fedora 15 or 16 would help :)

yorelchr
23rd January 2012, 07:59 PM
PS: is the auto installer secure? I mean, can't it be a source of conflict or things like that? is it a fedora program?

---------- Post added at 08:59 PM ---------- Previous post was at 08:57 PM ----------

yes, I should upgrade...but this is my work computer, and it's really not the moment for me now to do that, I'm afraid there could be some problems during the upgrading and I'm really not a Linux specialist...

roelj
23rd January 2012, 08:13 PM
Well, from 12 to 15 or 16 is quite a step indeed.
Go to the set up guides:
http://www.fedoraforum.org/?view=fedora_setup
(http://www.fedoraforum.org/?view=fedora_setup)
And pick one (I referred you to Autoplus earlier in this thread).

I don't think it will conflict. However, I think it will just fail because it has no mirrors to download it from.

---------- Post added at 09:12 PM ---------- Previous post was at 09:08 PM ----------

I found the repository data you need: http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/

Edit /etc/yum.repos.d/fedora.repo and replace the "baseurl="

for:
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/x86_64/os/

Do the same with /etc/yum.repos.d/fedora-updates.repo[COLOR="Silver"]

yorelchr
23rd January 2012, 09:10 PM
ok,for the /etc/yum.repos.d/fedora.repo I have all this... I suppose i change for the two I put in grass letters? why do I have one with # in front?

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
#metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/os/
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch


for /etc/yum.repo.d/fedora-updates.repo I just have one line which is not with #, so I change it....

---------- Post added at 09:47 PM ---------- Previous post was at 09:36 PM ----------

ok, I've made the change in the repo files. Then I did again what Krellen told in his post and now Skype seems to be ok. I'll see with time if I have no problems with webcam or sound...
thanks a lot for your time and patience!!!

best regards

yorelchr

---------- Post added at 09:48 PM ---------- Previous post was at 09:47 PM ----------

PS: I keep in mind about the upgrade, but I think I'll do it after saving everything...we never know ;-)

---------- Post added at 10:10 PM ---------- Previous post was at 09:48 PM ----------

PS: shoudln't I have changed the second baseur line, the one with the #, by the path leading to the debug :

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/x86_64/debug/

and the third one by :

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/12/Everything/source/SRPMS/

and the same in the other file ?