this post was submitted on 16 Sep 2024
106 points (92.1% liked)
linuxmemes
21210 readers
93 users here now
Hint: :q!
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I found a hack. Assuming you now have
libalpm.so.15
, just make a copy of it and rename it tolibalpm.so.14
:cp /usr/lib/libalpm.so.15 /usr/lib/libalpm.so.14
Edit: It's not a permanent one and it works for the time being, can't see the reason for the downvotes honestly.
Boy that’s… that’s one way to solve it I guess.
The redneck engineering equivalent in CS
It's just a bad idea in general. A better option would be to patch the binary to use 15. They both have the issue of forcing paru to work with a library it wasn't explicitly designed for, but symlinking (or copying) 15 to 14 forces the hack to be "system wide" instead of restricted to a single binary
as well, your solution is "temporary" only if you remember to fix it, vs patching which is (by default) overwritten the next time paru is updated
it "works", but it's not something i'd recommend someone else do
I genuinely thought symlinking these files was standard because how many people I have seen suggesting it. I have had this issue so many times when I needed to that one program updated but there's no newer libraries in AUR. Surprisingly, I haven't had issues and I've been doing this past 5 years on my personal system. So I guess I consider compiling from source next time.