You are not logged in.
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 directoryIt 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
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
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
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