Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. error while loading shared libraries: libQtWebview.so.1: cannot open shared object file: No such file or directory

error while loading shared libraries: libQtWebview.so.1: cannot open shared object file: No such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt4.8qserialportbinary
3 Posts 2 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Narthan
    wrote on 9 Nov 2015, 04:33 last edited by
    #1

    i am using Qt 4.8.1 in ubuntu 12.04 dynamic build,
    in my project i am using Qserialport and QWebview., if run this application in my system , i will work, if i take that binary and run in other system(No-qt installed) i will show error like

    error while loading shared libraries: libQtSerialPort.so.1: cannot open shared object file: No such file or directory

    error while loading shared libraries: libQtWebview.so.1: cannot open shared object file: No such file or directory

    why it is showing like this ?
    how can i solve this issue ? please suggest me..

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 9 Nov 2015, 05:28 last edited by
      #2

      That's because you don't have Qt libraries on your other system. You need to provide all needed libraries together with your application. To see which libraries are needed you can use "ldd /PATH/TO/APPLICATION_BINARY". You should read this: http://doc.qt.io/qt-4.8/deployment.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Narthan
        wrote on 9 Nov 2015, 05:34 last edited by
        #3

        Ok, even i tried copying by libraries to the deploying system, and exported it , then binary will execute, but serial port will not work as in the code.,

        1 Reply Last reply
        0

        3/3

        9 Nov 2015, 05:34

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved