
error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
## Error description
```sh
error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
```
## check
```sh
find /usr/lib -iname "*qt5core.so*"
/usr/lib/x86_64-linux-gnu/libQt5Core.so
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.2
```
## Solution:
```sh
sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
```
## Reference
- [KDE アプリが Windows/WSL/Ubuntu-19.04 環境で libQt5Core.so.5 が云々とかエラーを吐いて動かないときの対処方法のメモ](https://usagi.hatenablog.jp/entry/2019/12/26/181101)

No comments