Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An issue with pacman 4.2.0-6 #3

Closed
caasiu opened this issue Jan 27, 2015 · 13 comments

Comments

Projects
None yet
9 participants
@caasiu
Copy link

commented Jan 27, 2015

Hi, everyone:
After upgrading to pacman 4.2.0-6, I get an issue "package-query: error while loading shared libraries: libalpm.so.8: cannot open shared object file: No such file or directory" when I use yaourt to install packages from aur.
BTW, I'm pretty sure this issue is linked with package-query! As I can use yaourt to install packages with pacman 4.1.2-7 and package-query 1.5-2.
Any help?
Thanks.

@tuxce

This comment has been minimized.

Copy link
Member

commented Jan 27, 2015

package-query needs to be rebuilt because of a shared library version bump.

@tuxce tuxce added the invalid label Jan 27, 2015

@tuxce tuxce self-assigned this Jan 27, 2015

@caasiu

This comment has been minimized.

Copy link
Author

commented Jan 28, 2015

Thanks for reply.
I have no idea how to rebuild it. Do you mean I should reinstall yaourt and package-query?
Could you teach me in detail?

tuxce notifications@github.com ©ó 2015¦~1¤ë27¤é 23:00 ¼g¹D¡G

package-query needs to be rebuilt because of a shared library version bump.

¡X
Reply to this email directly or view it on GitHub.

@tuxce

This comment has been minimized.

Copy link
Member

commented Jan 28, 2015

You have to run makepkg again :

curl -O https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar zxvf package-query.tar.gz
cd package-query
makepkg -si

@Skunnyk Skunnyk closed this Apr 7, 2015

Skunnyk pushed a commit that referenced this issue Oct 12, 2015

@CaledoniaProject

This comment has been minimized.

Copy link

commented May 30, 2018

Ah, seem issue happened yesterday, libalpm.so.10 missing. I had to symlink libalpm.so.11 to libalpm.so.10 to resolve this.

Seriously, don't you guys do unit testing before publishing a new package?

@mariomenjr

This comment has been minimized.

Copy link

commented May 30, 2018

@CaledoniaProject Hello there. I am new in linux in general. Could you explain how to do that please?

@CaledoniaProject

This comment has been minimized.

Copy link

commented May 30, 2018

@mariomenjr If you're referring to the package-query: error while loading shared libraries: libalpm.so.10 error, try ln -sf /usr/lib64/libalpm.so.11 /usr/lib64/libalpm.so.10

@f2404

This comment has been minimized.

Copy link
Collaborator

commented May 30, 2018

try ln -sf /usr/lib64/libalpm.so.11 /usr/lib64/libalpm.so.10

@mariomenjr This is a terrible advice, never do that! libalpm has changed its soname which means it isn't backward-compatible with the previous version (so.10).

What you need to do is to rebuild package-query after you've upgraded pacman to version 5.1.0.

@f2404

This comment has been minimized.

Copy link
Collaborator

commented May 30, 2018

@CaledoniaProject What tests are you talking about? One of the libraries has changed its soname. This means any application that depends on it (including package-query) has to be rebuilt against the new library release. Since package-query isn't distributed in binary form, the burden of rebuilding it falls onto its users. There's nothing I can do for you.

@CaledoniaProject

This comment has been minimized.

Copy link

commented May 30, 2018

@f2404 Ah, make sense. I thought package-query is part of pacman, my bad

@mxinden

This comment has been minimized.

Copy link

commented Jun 1, 2018

Elaborating further on @f2404 reply for anyone like me:

  1. Run: pacman -Syu
  2. Download package-query: curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz
  3. Unpack it: tar -zxvf package-query.tar.gz
  4. cd package-query
  5. Install it: makepkg --install --syncdeps --rmdeps

@f2404 Please correct me if I am wrong.

@f2404

This comment has been minimized.

Copy link
Collaborator

commented Jun 1, 2018

@mxinden You forgot step 3.5. cd package-query

Those who have git installed can replace steps 2 and 3 with a single step
git clone https://aur.archlinux.org/package-query.git

@tmmit

This comment has been minimized.

Copy link

commented Jun 22, 2018

@mxinden 's answer describes the way it worked seamlessly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.