You are not logged in.

#1 2025-11-12 18:39:07

lainlover
Member
Registered: 2024-04-01
Posts: 19

[SOLVED] How to keep two versions of the same library (icu)

A single AUR package I have installed has icu (more specifically, libicuuc.so and libicui18n.so) as a dependency, for version 76.
Now, this package doesn't really get updated anymore because it's abandonware, but I still use it. At the same time, I need to upgrade icu from 76 because of core and extra packages.
Without having to reinstall this AUR package (it's really not a straightforward build), how do I install an older version of icu, while keeping the regular icu package, to later upgrade?

Last edited by lainlover (2025-11-13 13:34:24)

Offline

#2 2025-11-12 18:40:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,351

Re: [SOLVED] How to keep two versions of the same library (icu)

How can a PKGBUILD not be a straight forward build? The correct way forward is building it against the new library if it builds.

Offline

#3 2025-11-12 18:45:37

loqs
Member
Registered: 2014-03-06
Posts: 18,725

Re: [SOLVED] How to keep two versions of the same library (icu)

What is the AUR package are you having difficulties building?

Offline

#4 2025-11-12 19:02:50

lainlover
Member
Registered: 2024-04-01
Posts: 19

Re: [SOLVED] How to keep two versions of the same library (icu)

loqs wrote:

What is the AUR package are you having difficulties building?

I use quiterss, which depends on qt5-webkit, which itself depends on icu.
It's been a while since I dealt with it, but last time I updated qt5-webkit I had to do some manual symlinking of .so files, as quiterss wouldn't work properly otherwise (libxml2?). Now I could figure out whether this actually still is a problem by testing it, but my PC has this issue now where the CPU fan only starts working when it feels like it, so changing to a snapshot and rebooting is something I want to avoid.

Last edited by lainlover (2025-11-12 19:03:29)

Offline

#5 2025-11-12 19:15:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [SOLVED] How to keep two versions of the same library (icu)

I had to do some manual symlinking of .so files

NO! Do! Never! Do! That!!
It is always! the wrong "solution"!

https://aur.archlinux.org/packages/quit … ent-987329
=> https://aur.archlinux.org/packages/quiterss2-git ?

Either way, https://aur.archlinux.org/packages/qt5-webkit depends on icu - no specific version.
You'll have to rebuild it, though.

Unrelated:

CPU fan only starts working when it feels like it

https://wiki.archlinux.org/title/Fan_speed_control

Offline

#6 2025-11-12 19:54:47

lainlover
Member
Registered: 2024-04-01
Posts: 19

Re: [SOLVED] How to keep two versions of the same library (icu)

seth wrote:

I had to do some manual symlinking of .so files

NO! Do! Never! Do! That!!
It is always! the wrong "solution"!

https://aur.archlinux.org/packages/quit … ent-987329
=> https://aur.archlinux.org/packages/quiterss2-git ?

Yeah, it was the quiterss2-git one that was giving me trouble, now I remember. It was a more up-to-date version, but broke stuff. Hell, might have gotten rid of those extra symlinks after I went back to quiterss and just forgot about it. I really do want something I don't need to reboot to test though.

seth wrote:

Either way, https://aur.archlinux.org/packages/qt5-webkit depends on icu - no specific version.
You'll have to rebuild it, though.

error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (78.1-1) breaks dependency 'libicuuc.so=76-64' required by qt5-webkit
:: installing icu (78.1-1) breaks dependency 'libicui18n.so=76-64' required by qt5-webkit
 -> error installing repo packages
error installing repo packages

Idk, running yay -Syu doesn't agree with it


seth wrote:

Unrelated:

CPU fan only starts working when it feels like it

https://wiki.archlinux.org/title/Fan_speed_control

I don't think it's fan speed, motor's just probably faulty. It works fine after it starts spinning, but until it gets there I have to do several powercycles waiting for it to feel like moving. Motherboard doesn't even detect it in the CPU header until it starts spinning, moves like half a rotation a second, every second.

Offline

#7 2025-11-12 20:15:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,538

Re: [SOLVED] How to keep two versions of the same library (icu)

Idk, running yay -Syu doesn't agree with it

Remove qt5-webkit, update icu, rebuild qt5-webkit

Offline

#8 2025-11-13 13:34:03

lainlover
Member
Registered: 2024-04-01
Posts: 19

Re: [SOLVED] How to keep two versions of the same library (icu)

seth wrote:

Idk, running yay -Syu doesn't agree with it

Remove qt5-webkit, update icu, rebuild qt5-webkit

Solved it! Thanks

Offline

Board footer

Powered by FluxBB