ActivityWatch / ActivityWatch/activitywatch

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

オープン
#764 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
stale type: bug
主要言語
Python
スター
18.9k
フォーク
1k
平均マージ
1日 4時間
マージ済み PR(30日)
28

説明

- **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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。