So, as the title says, while launching code oss, it fails to load a shared libary, resulting into a failed launch. Full error -
/usr/lib/electron17/electron: error while loading shared libraries: libSvtAv1Enc.so.0: cannot open shared object file: No such file or directory
I have comfirmed that there is a libary called libSvtAv1Enc.so in my lib folder.
I did try copying the libary into the electron17 swiftshader folder, and the root folder. No result. Reinstalling, no result.
All the files shown are in the /lib folder.
Additional info - pacman -Qi code ** Name : code Version : 1.68.1-1 Description : The Open Source build of Visual Studio Code (vscode) editor Architecture : x86_64 URL : GitHub - microsoft/vscode: Visual Studio Code Licenses : MIT Groups : None Provides : vscode Depends On : electron17 libsecret libx11 libxkbfile ripgrep Optional Deps : bash-completion: Bash completions
** zsh-completions: ZSH completitons [installed]
** x11-ssh-askpass: SSH authentication [installed]** Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 88.34 MiB Packager : Massimiliano Torromeo mtorromeo@archlinux.org Build Date : Thu 16 Jun 2022 11:13:13 AM +03 Install Date : Wed 29 Jun 2022 02:44:34 PM +03 Install Reason : Explicitly installed Install Script : No Validated By : Signature
output for - pacman -Qo /usr/lib/libSvtAv1Enc.so*
/usr/lib/libSvtAv1Enc.so is owned by svt-av1 1.1.0-1
/usr/lib/libSvtAv1Enc.so.1 is owned by svt-av1 1.1.0-1
/usr/lib/libSvtAv1Enc.so.1.1.0 is owned by svt-av1 1.1.0-1
----------------------------------------------------------
output for pacman -Qo /usr/lib/electron17
/usr/lib/electron17/ is owned by electron17 17.4.3-1
Now that I think about it. I did install ffmpeg with yay not too long ago, for a project. I will try to remove it and then install it using the official repository.