Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error_cannot open shared object file: No such file or directory
Kycho last edited by
I compiled the 'enumerator' example on another device.
I saw this error code.
/home/jiminkim/Qt/Examples/Qt-5.11.2/serialport/enumerator/enumerator: error while loading shared libraries: libQt5SerialPort.so.5: cannot open shared object file: No such file or directory 11:35:42: Application finished with exit code 127.
I found 'libQt5SerialPort.so.5' in the 'lib' folder.
I do not know how to solve this problem.
Please help me.
Did you change the name of the *.so files ? I see so many serial so files in your directory. While compiling did you give different path for LIBS by chance ?
Just to check it that qt is working, are you able to launch simple Qt app from Qt Creator ?
Kycho last edited by Kycho
Thank you for your reply.
1.I did not modify the path or name.
2. It runs fine on my computer where QT is installed, but I get an error when remote compiling to an external device.
@Kycho How do you deploy your app to your device? Do you have Qt libs on your device?