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

configure -no-rpath doesn't turn off rpaths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5.0 Beta2
    • Build System: CMake
    • None
    • Linux/X11, macOS

      It's expected that configure -no-rpath turns off all rpaths.
      Such a build should act as if the linker doesn't support rpaths at all.

      A naive attempt at fixing this was done in

      The problem with these patches is that tools the build system needs cannot be called anymore, because the rpaths are missing and necessary Qt libs cannot be loaded.

      We need to enhance _qt_internal_generate_tool_command_wrapper to generate Linux and macOS wrapper scripts that set LD_LIBRARY_PATH and DYLD_LIBRARY_PATH and friends on these platforms.

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

            qtbuildsystem Qt Build System Team
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes