Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. symbol _ZN9QDateTimeC1EOS_, version Qt_5 not defined in file libQt5Core.so.5 with link time reference Application finished with exit code 127.

symbol _ZN9QDateTimeC1EOS_, version Qt_5 not defined in file libQt5Core.so.5 with link time reference Application finished with exit code 127.

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 3 Posters 7.3k 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.
  • S Offline
    S Offline
    saurabh162
    wrote on last edited by
    #1

    Re: Compile QT 5.8 to cross-compile Beaglebone

    Dear Developers,

    I have build Qt5.7.1 from source for Beaglebone black platform and tried to run simple example application (login window) from Qt.

    But after i deploy my application on Beaglebone black i get following error:

    /home/root/Test5_7_1_istallation: relocation error: /home/root/Test5_7_1_istallation: symbol _ZTVN10__cxxabiv120__si_class_type_infoE, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

    Please inform me what can be the reason and solution for above problem.

    Looking at above problem I also checked version of QT library cross compiled for Beaglebone black on my PC:

    Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 4.9.3 20141031 (prerelease))

    And Qt library prebuild in debian image of Beaglebone black.

    // Library version in Beaglebone black

    Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 6.3.0 20170124)
    This is the QtCore library version Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 6.3.0 20170124)

    According to me version of both Qt libraries are same then what can be the reson for above problem ?

    thank you very much for help :)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Just to be sure the situation correctly:

      • You have a cross-compiled Qt with gcc 4.9.3
      • On your target you have Qt version that is compiled using gcc 6.3.0

      Is that correct ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • S Offline
        S Offline
        saurabh162
        wrote on last edited by saurabh162
        #3

        Hello

        Thank you very much for replying so fast @SGaist

        Yes, whether It can cause problem ?

        aha_1980A 1 Reply Last reply
        0
        • S saurabh162

          Hello

          Thank you very much for replying so fast @SGaist

          Yes, whether It can cause problem ?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @saurabh162,

          yes that can cause problems.

          please make sure to build everything with the same compiler.

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            saurabh162
            wrote on last edited by
            #5

            Hello @aha_1980

            Thank you very much I will compile it again with gcc 6.3.0 and will update you with result.

            regards
            Saurabh

            1 Reply Last reply
            1
            • S Offline
              S Offline
              saurabh162
              wrote on last edited by
              #6

              Hello @aha_1980

              Thank you very much for your help. I have build Qt5.7.1 from source using GCC 6.3.1 and it works :)

              Kind regards
              Saurabh

              aha_1980A 1 Reply Last reply
              1
              • S saurabh162

                Hello @aha_1980

                Thank you very much for your help. I have build Qt5.7.1 from source using GCC 6.3.1 and it works :)

                Kind regards
                Saurabh

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @saurabh162 glad it worked and thanks for your feedback.

                so please mark this topic as SOLVED.

                Qt has to stay free or it will die.

                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