Failed to launch vscode with libinput settings installed
I could not launch vscode with snap installed and it seemed like it was because of the hackery done by this great app. Here is the commands done :
~
❯ sudo snap install code --classic
code 903b1e9d from Visual Studio Code (vscode✓) installed
~ took 24s
❯ code
ERROR: ld.so: object '/usr/local/lib/x86_64-linux-gnu/libinput-config.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.
/snap/code/152/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/x86_64-linux-gnu/libinput-config.so)
ERROR: /snap/code/152/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders exited abnormally with status 1
/snap/code/152/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/x86_64-linux-gnu/libinput-config.so)
ERROR: /snap/code/152/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 1
/snap/code/152/usr/share/code/bin/../code: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/x86_64-linux-gnu/libinput-config.so)
~
❯ sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 https://ppa.launchpadcontent.net/boltgolt/howdy/ubuntu jammy InRelease
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
So, maybe it's me who did something wrong, maybe it's an issue with this app. Here is the commentaries of chatGPT 4 of the error of the launch :
Solving the GLIBC_2.34 not found
issue: Check if a system update is available that includes the required version of glibc. You might try updating your system with sudo apt upgrade
or sudo apt full-upgrade
. However, if Jammy Jellyfish does not include glibc 2.34, you might consider upgrading to a more recent version of Ubuntu that does, if it's a viable option for you.
Bypassing the library preload issue: The error message related to /usr/local/lib/x86_64-linux-gnu/libinput-config.so
suggests there might be a custom system configuration interfering with Snap. You could try commenting out or deleting the relevant line in /etc/ld.so.preload
to see if it resolves the issue. Do this cautiously, making sure to back up the file before modifying it.
However, after installing it manually, it worked (with .deb).