You are not logged in.

#1 2008-03-09 16:18:41

elifarley
Member
From: Rio de Janeiro
Registered: 2008-03-07
Posts: 37
Website

[SOLVED] Missing shared object files

Hi.

I've recently installed ArchLinux in my Sony Vaio laptop (model PCG-K45), and it seems to be an excellent distro.

I still have some problems, though:

1- after installing mplayer, I tried running it, but this error message appeared:

bash-3.2$ mplayer
mplayer: error while loading shared libraries: libgssapi.so.2: cannot open shared object file: No such file or directory

1- SSH client stopped working (apparently after installing KDE). This is the error message:

bash-3.2$ ssh
ssh: error while loading shared libraries: libkafs.so.0: cannot open shared object file: No such file or directory

This may be helpful:

bash-3.2$ uname -a
Linux BLAH 2.6.24-ARCH #1 SMP PREEMPT Wed Feb 27 01:15:32 CET 2008 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux

I swear I didn't delete these shared object files (at least not knowingly).

What may I have done wrong? How can I re-install (or maybe install for the first time) those shared object files?

Thanks a lot!

Last edited by elifarley (2008-03-15 22:09:52)

Offline

#2 2008-03-09 18:02:09

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Missing shared object files

Welcome to the forums.

Both files above are from heimdal.

Offline

#3 2008-03-15 21:32:06

elifarley
Member
From: Rio de Janeiro
Registered: 2008-03-07
Posts: 37
Website

Re: [SOLVED] Missing shared object files

skottish wrote:

Welcome to the forums.

Both files above are from heimdal.

Thanks Skottish, I re-installed heimdal and those messages are gone now.

However, other similar messages appeared after that.

Fortunately, I've just found out that

pacman -Ql

shows a list relating all installed packages and the files each one installs.

So, as a general tip, if a certain library is missing, just grep the library name from that list, as this example shows:

# pacman -Ql | grep libgssapi.so.2
heimdal /usr/lib/libgssapi.so.2
heimdal /usr/lib/libgssapi.so.2.0.0

And then re-install the proper package:

pacman -Sy heimdal

Cheers.
Elifarley

Offline

Board footer

Powered by FluxBB