You are not logged in.

#1 2008-08-11 08:07:58

MONODA
Member
Registered: 2008-02-09
Posts: 256

libalpm.so.2: cannot open shared object file

Hello, i usually use shaman to install packages so the other day i decided to update my system using it, it asked if i wanted to upgrade pacman first, I said yes. When upgrading pacman finished, shaman did not continue the update so i decided to just shut down the pc. The next day I try to use shaman and  it wont launch, when i launch it from terminal i get this:

shaman: error while loading shared libraries: libalpm.so.2: cannot open shared object file: No such file or directory

also, when i try to use yaourt I get:

/usr/bin/pacman-color: error while loading shared libraries: libalpm.so.2: cannot open shared object file: No such file or directory

i deceided to try and pacman -Syu but when it started the update I got the following error:

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: linux-uvc-svn: requires kernel26<2.6.26
:: virtualbox-modules: requires kernel26<2.6.26

here is the output of uname -a:

Linux dany-laptop 2.6.25-ARCH #1 SMP PREEMPT Mon Jul 14 15:25:51 UTC 2008 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux

is anyone else getting this or is it just me?

Offline

#2 2008-08-11 09:09:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: libalpm.so.2: cannot open shared object file

Both shaman and pacman-color need to be rebuilt against the new libalpm version, which was part of the pacman upgrade.

linux-uvc-svn and virtualbox-modules need to be rebuilt against the 2.6.26 kernel package.

Offline

#3 2008-08-11 09:12:38

MONODA
Member
Registered: 2008-02-09
Posts: 256

Re: libalpm.so.2: cannot open shared object file

thanks for your reply but how would i go about doing that?

Offline

#4 2008-08-11 09:24:55

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: libalpm.so.2: cannot open shared object file

For shaman you will have to wait for a new release (scheduled for 1st of Sept from memory).  It is not a simple rebuild.

Offline

#5 2008-08-11 09:29:19

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: libalpm.so.2: cannot open shared object file

Are you using the last version of pacman color :
http://aur.archlinux.org/packages.php?ID=11827
?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#6 2008-08-11 09:37:03

MONODA
Member
Registered: 2008-02-09
Posts: 256

Re: libalpm.so.2: cannot open shared object file

Are you using the last version of pacman color :
http://aur.archlinux.org/packages.php?ID=11827
?

nope, i just did thanks, btw why did you give me the aur link?

so i guess the best thing to do is just wait...

Offline

#7 2008-08-11 09:50:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: libalpm.so.2: cannot open shared object file

It's an AUR package - there's no binary package for pacman-color.

Offline

#8 2008-08-11 11:38:52

MONODA
Member
Registered: 2008-02-09
Posts: 256

Re: libalpm.so.2: cannot open shared object file

Are you sure, I just installed it through pacman...

Offline

#9 2008-08-11 11:55:32

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: libalpm.so.2: cannot open shared object file

from what repo?  (pacman -Si pacman-color | grep "Repository")

Offline

#10 2008-08-11 11:58:45

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: libalpm.so.2: cannot open shared object file

It could be the archlinuxfr repo, which provides many things besides yaourt :
http://repo.archlinux.fr/i686/pacman-color/


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#11 2008-08-11 12:02:40

MONODA
Member
Registered: 2008-02-09
Posts: 256

Re: libalpm.so.2: cannot open shared object file

It could be the archlinuxfr repo, which provides many things besides yaourt :
http://repo.archlinux.fr/i686/pacman-color/

yep thats it. So does anyone have any more advice?

Offline

#12 2008-08-12 12:10:17

alleyoopster
Member
From: Cape Town
Registered: 2006-11-19
Posts: 92

Re: libalpm.so.2: cannot open shared object file

I had the same problem. You simple need to remove pacman-color

pacman -R pacman-color

and reinstall the latest 3.2.0.a-1

yaourt -S pacman-color

This will fix the errors you are getting with pacman and yaourt, but ,as previously said, you will not be able to use Shaman until it has been brought up to speed

Last edited by alleyoopster (2008-08-12 12:17:34)

Offline

#13 2008-08-13 18:53:59

MONODA
Member
Registered: 2008-02-09
Posts: 256

Re: libalpm.so.2: cannot open shared object file

linux-uvc-svn and virtualbox-modules need to be rebuilt against the 2.6.26 kernel package

could someone help me with this please?

Offline

#14 2008-08-14 22:12:25

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,515
Website

Re: libalpm.so.2: cannot open shared object file

I'm in the same situation (linux-uvc-svn: requires kernel26<2.6.26 ). Looking at the description it looks like linux-uvc-svn would break because the new kernel will not support it. I wonder when there would be an upgrade of that package, unless of course, there is another way around the problem.

R.

Offline

#15 2008-08-15 02:08:54

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: libalpm.so.2: cannot open shared object file

linux-uvc-svn has been removed from community repo. The module is now part of the kernel.  Maybe they changed the module name.

Offline

Board footer

Powered by FluxBB