You are not logged in.

#1 2021-06-01 14:11:19

alumkal
Member
Registered: 2021-06-01
Posts: 1

error while loading shared libraries: cannot open shared object file

I surprisingly found yay didn't work while producing such message:

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

I haven't done anything 'dangerous' to my system and I couldn't find out the reasons.

Could you please help me?

Offline

#2 2021-06-01 14:31:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,054

Re: error while loading shared libraries: cannot open shared object file

You need to rebuild yay for pacman 6, the AUR author has intentionally incremented the pkgrel so that a full system update with yay wouldn't lead to such a situation.

If you are in that situation înstall yay the traditional way with makepkg:  https://aur.archlinux.org/packages/yay/#pinned-808720

Offline

#3 2021-06-02 14:51:34

ThinkPad
Member
Registered: 2019-01-29
Posts: 65

Re: error while loading shared libraries: cannot open shared object file

Does this imply that when using yay, you should preform all updates through that tool?

Offline

#4 2021-06-02 15:41:28

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,337
Website

Re: error while loading shared libraries: cannot open shared object file

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2021-06-02 15:50:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 13,054

Re: error while loading shared libraries: cannot open shared object file

ThinkPad wrote:

Does this imply that when using yay, you should preform all updates through that tool?

As far as having an active maintainer that bumps the pkgrel in reaction to changes like these yes. You should still be in general aware that this is a situation that "will" happen on libalpm/pacman soname bumps and then knowing the proper course of action to take, which is rebuilding the source application in question. This will help your general understanding of relations of packages in your system and this kind of error is not exclusive to yay.

So if you just want a "don't care how it works™" solution then yes continue to do all operations with yay and hope the maintainer keeps being as proactive as they are (... it helps that said maintainer is the developer of the tool in question directly, so as long as they don't lose interest then this should be a situation that will be relevantly handled) if you don't want to end up helpless if that isn't the case, then read up on what soname bumps are:  https://en.wikipedia.org/wiki/soname

Offline

#6 2021-06-19 02:54:31

milomak
Member
Registered: 2009-11-04
Posts: 54

Re: error while loading shared libraries: cannot open shared object file

is the below the same issue

$ rua update
rua: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory

Offline

#7 2021-06-19 03:27:37

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,419

Re: error while loading shared libraries: cannot open shared object file

milomak wrote:

is the below the same issue

$ rua update
rua: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory

See the pinned comment on the AUR page
https://aur.archlinux.org/packages/rua

Offline

#8 2021-06-19 03:27:41

loqs
Member
Registered: 2014-03-06
Posts: 13,467

Re: error while loading shared libraries: cannot open shared object file

milomak wrote:

is the below the same issue

$ rua update
rua: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory

Did you read the pinned comment  on the rua package page https://aur.archlinux.org/packages/rua/#pinned-811778?
Edit:
Beaten by skunktrader

Last edited by loqs (2021-06-19 03:28:43)

Offline

Board footer

Powered by FluxBB