libQt5Core.so.5: version `Qt_5.13' not found
ryera last edited by
Hi, I building an app in Debian Testing with KDE my app compiles fine but when a run it I get the error /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.13' not found, i am using some numerical libraries located in /usr/lib/x86_64-linux-gnu/ so this path is added to the LD_LIBRARY_PATH variable. It seems that there is an older Qt version installed by the OS and when I try to run the app just find this version of Qt. There is any solution to this.
English is not my native language, please forgive me if i write something grammatically wrong.
Both PATH and LD_LIBRARY_PATH operate on "first match" basis. So all that matters is that new Qt is found before the system one. Try adding your new Qt path to the beginning of LD_LIBRARY_PATH and it should work.
Alternatively - compile your release builds with your system Qt.