[MacPorts] #70467: openEMS uses incorrect paths for linking dylibs

MacPorts noreply at macports.org
Tue Jul 30 16:52:12 UTC 2024


#70467: openEMS uses incorrect paths for linking dylibs
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  ra1nb0w
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  openEMS       |
---------------------------+----------------------
Changes (by ryandesign):

 * cc: eborisch (added)


Comment:

 openEMS doesn't depend on libMacportsLegacySupport, libsz, or libz, but
 hdf5 does, and openEMS depends on hdf5, so I suspect hdf5 is telling the
 openEMS build to link with these things, which is overlinking, which
 should be fixed in the hdf5 port.

 For each of the libraries, the build is using both a nonsensical `-L` path
 like `-L/opt/local/lib/libhdf5.dylib` and a nonsensical `-rpath` like
 `-Wl,-rpath,/opt/local/lib/libhdf5.dylib`, followed by the correct
 `/opt/local/lib/libhdf5.dylib`, so all the libraries are being linked to.
 The nonsensical arguments just need to go away.

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


More information about the macports-tickets mailing list