py3-qt5 import error: _ZNK17QOpenGLTimerQuery16waitForTimestampEv: symbol not found
Hello! I am using postmarketos with plasma-mobile on the pinephone. I recently wrote a mobile gui for gopass: https://git.sr.ht/~anjan/mobpass
The program runs fine on my desktop - void linux x86_64 bit with all dependencies installed via xbps. On my pinephone running postmarketos, I installed py-qt5 via the sudo apk add py-qt5
command. However, when I run the program on the pinephone, I get the following error:
pineyphone:~/builds/mobpass$ python3.8 __init__.py
Traceback (most recent call last):
File "__init__.py", line 16, in <module>
from PyQt5.QtWidgets import QApplication
ImportError: Error relocating /usr/lib/python3.8/site-packages/PyQt5/QtGui.so: _ZNK17QOpenGLTimerQuery16waitForTimestampEv: symbol not found
This may be an issue for others writing pyqt5 apps for the pinephone (or alpine linux). My code is very simple and I recommend you try it out to reproduce. If you have any questions or if I can help in any way, please let me know.