[MacPorts] #60845: qscintilla-qt5: libqscintilla2_qt5.15.0.0.dylib's install_name contains @rpath

MacPorts noreply at macports.org
Thu Jul 16 13:56:20 UTC 2020


#60845: qscintilla-qt5: libqscintilla2_qt5.15.0.0.dylib's install_name contains
@rpath
-----------------------------+--------------------
  Reporter:  mcmara          |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.2
Resolution:                  |   Keywords:
      Port:  qscintilla-qt5  |
-----------------------------+--------------------

Comment (by mcmara):

 While waiting for the fixes, a temporary workaround for using octave and
 for installing further MacPorts' octave packages such as octave-statistics
 may be the following:
 {{{
 sudo install_name_tool -add_rpath /opt/local/libexec/qt5/lib octave-gui
 }}}
 That will add a LC_RPATH to the executable:
 {{{
  $ otool -l /opt/local/libexec/octave/5.2.0/exec/x86_64-apple-darwin18.x.x
 /octave-gui | tail -4
 Load command 59
           cmd LC_RPATH
       cmdsize 40
          path /opt/local/libexec/qt5/lib (offset 12)
 }}}
 Now octave launches and `sudo port install octave-statistics` works.

-- 
Ticket URL: <https://trac.macports.org/ticket/60845#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list