Remote debug. error while loading shared libraries: libQt5WebSockets.so.5: cannot open shared object file: No such file or directory



  • hi, this problem, I have Kubuntu on my PC, server CentOS6.5 when I compile on the PC and run the server it appears this error "error while loading shared libraries: libQt5WebSockets.so.5: can not open shared object file: No such file or directory "
    I tried it and manually compile on the PC and copy to the server but the error only if I compile on the server, then everything runs and works.
    tried to copy the library from kubuntu server will still not work, only works if compiled with app on the server and use the library from the server.

    Qt 5.3 install PC and Server



  • I will answer myself))
    Project -> Run -> Run Environment -> Add

    Variable = LD_LIBRARY_PATH
    Value = Qt5.3.2/5.3/gcc_64/lib

    and it works )))


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.