[MacPorts] #66584: lua50, lua52, lua @ 5.3.5_0: tests fail due to missing liblua.dylib

MacPorts noreply at macports.org
Thu Dec 29 15:14:32 UTC 2022


#66584: lua50, lua52, lua @ 5.3.5_0: tests fail due to missing liblua.dylib
--------------------------------+--------------------
  Reporter:  harens             |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  lua50, lua52, lua  |
--------------------------------+--------------------

Comment (by kencu):

 the lua port does try to set things up for testing:

 https://github.com/macports/macports-
 ports/blob/e4c2977140da3d850df8125acb5a9e1c3c969150/lang/lua/Portfile#L59

 but newer macosx versions with SIP no longer follow/obey
 DYLD_LIBRARY_PATH, as it is a security hole, eg

 https://developer.apple.com/forums/thread/703757

 practically, you either have to use rpaths, which meson and cmake do
 automatically, or install the library to it’s final location then run the
 tests.

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


More information about the macports-tickets mailing list