GLIB library issue in Ubuntu 20 while installing latest k8 Lens desktop

Hi Team,

I am facing a GLIBC library issue while installing Lens Desktop on my laptop. I have tried installing K8s Lens on my Ubuntu machine using both the .deb package and the AppImage method, but I’m encountering the same error in both case.

I have used this link to download K8 lens: Install Lens Desktop - Lens Documentation

OS: Ubuntu 20

Error:
Extracting usr/share/icons/hicolor/512x512/apps/lens-desktop.png to “/home/mihir/.local/share/icons/hicolor/512x512/apps/appimagekit_c42ebc75d970f2f4eecdbc23d4ab72d0_lens-desktop.png”
WARNING: Unable to resize the application icon into a 128x128 image: “Unable to load image.”. It will be written unchanged.
WARNING: Unable to resize the application icon into a 256x256 image: “Unable to load image.”. It will be written unchanged.
gtk-update-icon-cache: Cache file created successfully.
innerError Error: Cannot find module ‘…/build/Debug/pty.node’
Require stack:

  • /tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js
  • /tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/node-pty/lib/index.js
  • /tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/@lensapp/core-main/dist/index.js
  • /tmp/.mount_Lens-2a4k2Nf/resources/app.asar/static/build/main.js
  • at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:129200)
    at Module._load (node:internal/modules/cjs/loader:1062:27)
    at c._load (node:electron/js2c/node_init:2:17950)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:227:24)
    at Module.require (node:internal/modules/cjs/loader:1318:12)
    at require (node:internal/modules/helpers:136:16)
    at Object. (/tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:29:15)
    at Module._compile (node:internal/modules/cjs/loader:1562:14) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [
    ‘/tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js’,
    ‘/tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/node-pty/lib/index.js’,
    ‘/tmp/.mount_Lens-2a4k2Nf/resources/app.asar/node_modules/@lensapp/core-main/dist/index.js’,
    ‘/tmp/.mount_Lens-2a4k2Nf/resources/app.asar/static/build/main.js’,
    undefined
    ]
    }
    A JavaScript error occurred in the main process
    Uncaught Exception:
    Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34’ not found (required by /tmp/.mount_Lens-2a4k2Nf/resources/app.asar.unpacked/node_modules/node-pty/build/Release/pty.node)
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2569)
    at Module._extensions…node (node:internal/modules/cjs/loader:1741:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2796)
    at Module.load (node:internal/modules/cjs/loader:1296:32)
    at Module._load (node:internal/modules/cjs/loader:1115:12)
    at c._load (node:electron/js2c/node_init:2:17950)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:227:24)
    at Module.require (node:internal/modules/cjs/loader:1318:12)
    at require (node:internal/modules/helpers:136:16)
    MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Thanks,
Mihir

Please see this thread about Ubuntu compatibility: Lens 2025.5.81206-latest - Release

Thank you very much “phorsmalahti”. It’s working now