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

rpath passed to configure should imply rpath-link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.0.0 Beta 2
    • Build System
    • None
    • 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

              qtbuildsystem Qt Build System Team
              flobe Florian Behrens
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes