[MacPorts] #60165: meson @0.53.2 produces on PPC Mac OS X 10.4.11, Tiger, faulty files with illegal loader switch '-Wl, -rpath, @loader_path/'

MacPorts noreply at macports.org
Mon Mar 30 04:39:37 UTC 2020


#60165: meson @0.53.2 produces on PPC Mac OS X 10.4.11, Tiger, faulty files with
illegal loader switch '-Wl,-rpath, at loader_path/'
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:             |   Keywords:  tiger ppc
      Port:  meson      |
------------------------+-----------------------

Comment (by kencu):

 The main issue still remaining is running build tools or tests in the
 build directory using libraries that have been built during the build
 process, if the libraries are not immediately next to the binaries trying
 to run them. In that case, @loader_path can't find them.

 Installing the libraries in the build directory with the full pathname to
 the library might work. We can find the path to the build directory with
 {{{env.get_build_dir()}}} so we can get that far without too much trouble.
 And we can modify {{{get_soname_args}}} to return the install name as that
 pathname + '/' + prefix + shlib_name.

 The part I'm missing is the bit of the path between the base build_dir
 path and the actual library target path relative to the build_dir.

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


More information about the macports-tickets mailing list