bruno
bruno copied to clipboard
Can't install in Arch Linux from user repository
When installing from the user repository , it crashes before opening with this error:
/usr/lib/electron21/electron: error while loading shared libraries: libicui18n.so.72: cannot open shared object file: No such file or directory
Not sure if this issue should be raised on the user repository, but it may be that bruno is using a old version of the icu library. For anyone who is trying to install it, bruno-bin
works perfectly as it includes its own version of electron.
Hi there,
bruno-bin
and bruno
PKGBUILD maintainer here, I just checked again and the package built from those PKGBUILD should be working fine.
My best guest is you might have the habit of making partial upgrades: the logs you provided show a libicui18n in version 72, however archlinux repositories started providing more recent version (73 then 74) since may 2023.
I believe that if you fully update you system you will be able to have this working.
edit: For context, partial upgrade are not supported on archlinux. Please see here.
If you manually install the electron21
package, could you install bruno?
sudo pacman -Syu electron21
I'm having the same issue and I have electron21 installed. However, when I run electron --version
it outputs v28.2.5
. Could that be the problem? How do i tell pacman to use v21 instead?
Hi there,
You don't, it's included in the PKGBUILD (line 65): https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=bruno#n65
The package electron21
was dropped from the official repository in June 2023. It's likely you did not update it since then. Building the AUR package electron21
is not something I would recommend thought: I just checked and the sources and build directory weight something like 26G on my drive. However, you may install electron21-bin
(with yay
as AUR helper: yay -S electron21-bin --asdeps
) instead before installing bruno
.
On a side not, I must say I'm personally not pleased with the whole electron situation: it's not unusual to have multiple version of it on one's system since some application (eg. bruno, rocketchat-desktop, drawio-desktop to name a few) depends on older ones:
$ pacman -Qq | grep electron
electron21-bin
electron29
One should check periodically with pacman -Qi electron<version>
if a version is still needed as it won't always be uninstalled if some package do not need it anymore depending on the way it was declared in the dependencies of the PKGBUILD.
Latest packaged electron version available in the [extra]
repository is electron29:
$ pacman -Ss electron | grep electron
extra/electron 1:29-1
extra/electron22 22.3.27-5
extra/electron23 23.3.13-5
extra/electron27 27.3.9-1
extra/electron28 28.2.10-1
extra/electron29 29.2.0-1 [installed: 29.1.6-2]
I made the choice when I wrote this PKGBUILD to match the electron version that was set in bruno-electron
's package.json to prevent encountering issues that might have occurred if the version was too far from the one required here. I think it would probably be best to upgrade it in this repository so I could then match the newer version in the PKGBUILD.
Anyway, I digress. Could you please try installing electron21-bin then bruno ?
edit for clarifications: I suppose the package electron21 on your system is linked against libraries that do not exist in those version anymore which, after re-reading the original issue, I suspect is the same for @Vanclief.
@vbouchaud Installing eletrcon21-bin solved it for me. Thank you!
I suggest this issue be closed: bruno was upgraded to electron31 which is, for now, the latest electron version available.