/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found
-
wrote on 20 Oct 2020, 15:07 last edited by
Hello, I am being sent a binary file from another machine and when trying to run it I am getting this error: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found.
Looking in my /usr/lib/x86_64-linux-gnu/ folder I only have up to libQt5Core.so.5.9.5 although I have QT 5.15.1 installed.
Anyone know how I could fix this error?
-
@jsulm How exactly would I set the LD_LIBRARY_PATH? Would it just be a command line statement where I am equaling it to the 5.15.1 libs?
export LD_LIBRARY_PATH=HERE_PATH_TO_QT_LIBS_DIR && ./my_app
-
Hello, I am being sent a binary file from another machine and when trying to run it I am getting this error: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found.
Looking in my /usr/lib/x86_64-linux-gnu/ folder I only have up to libQt5Core.so.5.9.5 although I have QT 5.15.1 installed.
Anyone know how I could fix this error?
@rtvideo said in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found:
Anyone know how I could fix this error?
One solution is to properly deploy the app, see https://doc.qt.io/qt-5/linux-deployment.html "Creating the Application Package"
Or you set LD_LIBRARY_PATH to point to your Qt 5.15.1 libs before starting the app. -
@jsulm How exactly would I set the LD_LIBRARY_PATH? Would it just be a command line statement where I am equaling it to the 5.15.1 libs?
export LD_LIBRARY_PATH=HERE_PATH_TO_QT_LIBS_DIR && ./my_app
-
@rtvideo said in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found:
Anyone know how I could fix this error?
One solution is to properly deploy the app, see https://doc.qt.io/qt-5/linux-deployment.html "Creating the Application Package"
Or you set LD_LIBRARY_PATH to point to your Qt 5.15.1 libs before starting the app. -
@jsulm Hi im having the same problem, and im pretty new with Linux, what do I have to replace in order to make this work? Thanks.