Skip to content

AppImage hangs over GLIBCXX_3.4.31 not found #143

@johnblommers

Description

@johnblommers

When launching Comet-v0.9.0-alpha-amd64.AppImage we see the following message and the application hangs:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /tmp/.mount_Comet-CLNdaG/usr/lib/Comet/resources/app.asar.unpacked/.webpack/main/native_modules/build/Release/leveldown1.node)
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2569)
    at Module._extensions..node (node:internal/modules/cjs/loader:1748: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)

This is on a up-to-date PopOS 22.04 system which runs GNOME. The file referenced in the message, /lib/x86_64-linux-gnu/libstdc++.so.6 does exist. This appears to be a case of an AppImage being created for a specific version of glibc. On my system:

ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.9) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions