You are not logged in.

#1 2012-03-16 11:05:57

qinshang007
Member
Registered: 2012-03-16
Posts: 1

libalpm.so.7: cannot open shared bject file: No such file or directory

Can anyone help me solve this upset problem "pacman: error while loading shared libraries: libalpm.so.7: cannot open shared object file: No such file or directory"
Everytime I try to run pacman ,the error occurs.However ,the file libalpm.so.7 has been exsisted on the location /usr/lib/ .Can you help me?

Offline

#2 2012-03-16 11:43:15

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: libalpm.so.7: cannot open shared bject file: No such file or directory

Maybe the library is corrupt, you can try re-installing it by reinstalling pacman: `pacman -S pacman`.

Offline

#3 2012-03-16 15:10:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: libalpm.so.7: cannot open shared bject file: No such file or directory

Spider.007 wrote:

you can try re-installing it by reinstalling pacman: `pacman -S pacman`.

Not sure if he can run pacman ...

Offline

#4 2012-03-16 20:24:02

drrossum
Member
From: Chicago
Registered: 2009-02-24
Posts: 83

Re: libalpm.so.7: cannot open shared bject file: No such file or directory

Try running under a debugger, like strace, to see where the binary is trying to find the libalpm.so.7 file.  Then you'll know where, in what directory, the file is missing.

Offline

#5 2012-03-17 12:22:58

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: libalpm.so.7: cannot open shared bject file: No such file or directory

karol wrote:
Spider.007 wrote:

you can try re-installing it by reinstalling pacman: `pacman -S pacman`.

Not sure if he can run pacman ...

Heh, you're probably right. big_smile

@ts if you indeed cannot run pacman, you can extract the library manually:

cd /
tar xf /var/cache/pacman/pkg/pacman-4.0.2-1-x86_64.pkg.tar.gz usr/lib/libalpm.so.7

Last edited by Spider.007 (2012-03-17 12:23:30)

Offline

Board footer

Powered by FluxBB