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. libQt5core.so.5: cannot open shared object file
QtWS25 Last Chance

libQt5core.so.5: cannot open shared object file

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 5.1k 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.
  • risobR Offline
    risobR Offline
    risob
    wrote on last edited by risob
    #1

    Hello everyone,

    I have an application written and compiled in Qt Creator. It does run on Linux and work as intented on my own computer with installed Qt SDK.

    I want to move the application to another computer/server with Linux OS and run it. But I get an error message:

    "...error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory..."

    How can I solve this problem? In Windows I could add some DLL files to bin folder of my application und run it. Is there a similar approach for Linux OS?

    Thanks in advance.

    kshegunovK 1 Reply Last reply
    0
    • risobR risob

      Hello everyone,

      I have an application written and compiled in Qt Creator. It does run on Linux and work as intented on my own computer with installed Qt SDK.

      I want to move the application to another computer/server with Linux OS and run it. But I get an error message:

      "...error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory..."

      How can I solve this problem? In Windows I could add some DLL files to bin folder of my application und run it. Is there a similar approach for Linux OS?

      Thanks in advance.

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      @risob
      Hello,

      How can I solve this problem? In Windows I could add some DLL files to bin folder of my application and run it. Is there a similar approach for Linux OS?

      You can, see the relevant Linux deploy page in the docs.
      Usually, I'd prefer to "require" the user to install Qt 5 from their distro's repository though.

      Kind regards.

      Read and abide by the Qt Code of Conduct

      risobR 1 Reply Last reply
      1
      • kshegunovK kshegunov

        @risob
        Hello,

        How can I solve this problem? In Windows I could add some DLL files to bin folder of my application and run it. Is there a similar approach for Linux OS?

        You can, see the relevant Linux deploy page in the docs.
        Usually, I'd prefer to "require" the user to install Qt 5 from their distro's repository though.

        Kind regards.

        risobR Offline
        risobR Offline
        risob
        wrote on last edited by
        #3

        @kshegunov

        Thank you very much. I think this should solve my problem.

        1 Reply Last reply
        0

        • Login

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