Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28094

rpath passed to configure should imply rpath-link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0 Beta 2
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Host: Ubuntu 12.04 LTS on x86, g++ 4.6.3
      Target: Ubuntu 12.04 LTS on ARMv7 (beagleboard), arm-linux-gnueabihf-g++ 4.6.3

      Description

      The libicu configure test fails in cross builds with the following output:

      /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: warning: libicudata.so.48, needed by /home/user/target_root/usr/lib/../lib/libicuuc.so, not found (try using -rpath or -rpath-link)
      /home/user/target_root/usr/lib/../lib/libicuuc.so: undefined reference to `icudt48_dat'
      collect2: ld returned 1 exit status

      The reason is that no -licudata is given in icu.pro und g++ seems to not look in the sysroot path for shared libs that are required by other shared libs.

      A solution would be: Add -licudata to unix:LIBS variable in qtbase/config.tests/unix/icu/icu.pro.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              flobe Florian Behrens
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes