ActivityWatch / ActivityWatch/activitywatch

Getting `libGL error: failed to load driver` caused by `libstdc++.so.6: version 'GLIBCXX_3.4.29' not found`

Offen
#764 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
stale type: bug
Vorherrschende Sprache
Python
Sterne
18.9k
Forks
1k
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
28

Beschreibung

- **OS name and version**: Arch Linux, rolling
- **ActivityWatch version**: d45960deeb86a9c968847c2b06ca0daa7397ee51

## Describe the bug

Error messages like this appear in the aw-qt output:

```
libGL error: MESA-LOADER: failed to open iris: /home/erb/Downloads/builds-Linux-py3.8(1)/activitywatch-v0.12.0b2.dev-d45960d-linux-x86_64/activitywatch/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /home/erb/Downloads/builds-Linux-py3.8(1)/activitywatch-v0.12.0b2.dev-d45960d-linux-x86_64/activitywatch/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /home/erb/Downloads/builds-Linux-py3.8(1)/activitywatch-v0.12.0b2.dev-d45960d-linux-x86_64/activitywatch/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
```

They seem relatively benign, and don't cause a crash or anything, but it highlights an underlying issue that might be bigger/affect more libs.

Not sure if removing `libstdc++.so.6` from the bundle it is a good idea (although most/all systems should have it, not sure about compatibility), but fixes the issue on my machine.

## Additional context

Related to the general issue of which libraries to bundle: https://github.com/pyinstaller/pyinstaller/discussions/6645

Seems similar to https://github.com/Ultimaker/Cura/issues/11856

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.