You are not logged in.

#1 2023-05-29 08:32:24

Sharelter
Member
Registered: 2022-06-15
Posts: 11

[Solved]Electron22 based software suddenly not work after update

Hi, my VisiualStudioCode suddenly cannot be opened anymore after I finished whole system update and reboot my computer.

I use Gnome desktop Environment and up to date system.

When I tried to openup any electron-based applications (such as telegram-desktop, code...etc), it showed up this error message:

/usr/lib/electron22/electron: error while loading shared libraries: libmbedcrypto.so.7: cannot open shared object file: No such file or directory

It seems that electron cannot find its dependency libmbedcrypto.so.7, I searched about it on the Internet, found that it is provided by mbedtls,
and `pacman -Sii mbedtls` showed that it provides libmbedcrypto.so=14-64.

So, it seems that it's the problem that the electron22 is still using the old `.so.7` which has been deprected.

Any idea about it ?

Last edited by Sharelter (2023-05-29 09:32:02)

Offline

#2 2023-05-29 09:13:53

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,592
Website

Re: [Solved]Electron22 based software suddenly not work after update

Use 'lddtree' from the pax-utils package to identify which specific file introduces that soname dependency, then use pacman to identify what package provides that. My guess is you've replaced a repo package with an AUR package, and that needs to be rebuilt against the new mbedtls.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // 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

#3 2023-05-29 09:31:19

Sharelter
Member
Registered: 2022-06-15
Posts: 11

Re: [Solved]Electron22 based software suddenly not work after update

THX, I found that it is caused by the package obs-studio-browser which recomplied a bunch of packages such ffmpeg, caused this problem. After I removed this package and reinstalled the ffmpeg package, Problem solved.

Offline

#4 2023-05-29 09:34:19

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,211

Re: [Solved]Electron22 based software suddenly not work after update

Wormzy's assessment was more accurate then mine.



No need to use lldtree or AUR (this time) .

$ pacman -F libmbedcrypto.so.7
extra/mbedtls2 2.28.3-3
    usr/lib/libmbedcrypto.so.7
$ 

Try installing mbedtls2 .

Last edited by Lone_Wolf (2023-05-29 10:43:32)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB