[MacPorts] #70361: hdf5 @1.14.4.3: duplicate LC_RPATH '/opt/local/lib/libgcc' (was: installation hdf5)
MacPorts
noreply at macports.org
Thu Jul 18 04:38:25 UTC 2024
#70361: hdf5 @1.14.4.3: duplicate LC_RPATH '/opt/local/lib/libgcc'
------------------------+----------------------
Reporter: nsmirian | Owner: eborisch
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: duplicate | Keywords: sonoma
Port: hdf5 |
------------------------+----------------------
Changes (by ryandesign):
* status: assigned => closed
* resolution: => duplicate
Comment:
Ok, main.log says:
{{{
:info:configure configure: error: linking to Fortran libraries from C
fails
:info:configure See `config.log' for more details
}}}
and config.log says:
{{{
configure:8733: checking for dummy main to link with Fortran libraries
configure:8768: /opt/local/bin/mpicc-openmpi-mp -o conftest -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
-arch arm64 conftest.c -L/opt/local/lib -L/opt/local/lib/openmpi-mp
-L/opt/local/lib/gcc14/gcc/aarch64-apple-darwin23/14.1.0
-L/opt/local/lib/gcc14/gcc/aarch64-apple-darwin23/14.1.0/../../..
-lemutls_w -lheapt_w -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh
-lmpi -lgfortran -lquadmath >&5
ld: warning: ignoring duplicate libraries: '-lmpi'
ld: multiple errors: duplicate LC_RPATH '/opt/local/lib/libgcc' in
'/opt/local/lib/openmpi-mp/libmpi_usempif08.40.dylib'; duplicate LC_RPATH
'/opt/local/lib/libgcc' in '/opt/local/lib/openmpi-
mp/libmpi_usempi_ignore_tkr.40.dylib'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
You can find a zillion other MacPorts tickets about the "duplicate
LC_RPATH '/opt/local/lib/libgcc'" problem.
Duplicate of #69118.
--
Ticket URL: <https://trac.macports.org/ticket/70361#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list