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. /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found

/usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 26.7k 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.
  • R Offline
    R Offline
    rtvideo
    wrote on 20 Oct 2020, 15:07 last edited by
    #1

    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?

    J 1 Reply Last reply 20 Oct 2020, 15:18
    0
    • R rtvideo
      20 Oct 2020, 15:22

      @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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Oct 2020, 15:32 last edited by
      #4

      @rtvideo

      export LD_LIBRARY_PATH=HERE_PATH_TO_QT_LIBS_DIR && ./my_app
      

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

      1 Reply Last reply
      4
      • R rtvideo
        20 Oct 2020, 15:07

        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?

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 20 Oct 2020, 15:18 last edited by
        #2

        @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.

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

        M 1 Reply Last reply 11 Apr 2021, 15:04
        1
        • R Offline
          R Offline
          rtvideo
          wrote on 20 Oct 2020, 15:22 last edited by
          #3

          @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?

          J 1 Reply Last reply 20 Oct 2020, 15:32
          0
          • R rtvideo
            20 Oct 2020, 15:22

            @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?

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 20 Oct 2020, 15:32 last edited by
            #4

            @rtvideo

            export LD_LIBRARY_PATH=HERE_PATH_TO_QT_LIBS_DIR && ./my_app
            

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

            1 Reply Last reply
            4
            • R Offline
              R Offline
              rtvideo
              wrote on 20 Oct 2020, 15:56 last edited by
              #5

              @jsulm This worked, thank you!

              1 Reply Last reply
              0
              • J jsulm
                20 Oct 2020, 15:18

                @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.

                M Offline
                M Offline
                m4t1
                wrote on 11 Apr 2021, 15:04 last edited by
                #6

                @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.

                J 1 Reply Last reply 12 Apr 2021, 06:11
                0
                • M m4t1
                  11 Apr 2021, 15:04

                  @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.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 12 Apr 2021, 06:11 last edited by
                  #7

                  @m4t1 Did you try

                  export LD_LIBRARY_PATH=HERE_PATH_TO_QT_LIBS_DIR && ./my_app
                  

                  ?

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

                  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