Opened 4 months ago

Closed 4 months ago

#70361 closed defect (duplicate)

hdf5 @1.14.4.3: duplicate LC_RPATH '/opt/local/lib/libgcc'

Reported by: nsmirian (Najmeh Mirian) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version:
Keywords: sonoma Cc:
Port: hdf5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

by running : sudo port install hdf5 +openmpi

I have following errors. can you help me please ? I have Mac OS Sonoma 14.5.

Error: Failed to configure hdf5: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.4-3/config.log
Error: Failed to configure hdf5: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port hdf5 failed

Attachments (2)

config.log (136.2 KB) - added by nsmirian (Najmeh Mirian) 4 months ago.
main.log (76.0 KB) - added by nsmirian (Najmeh Mirian) 4 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to eborisch
Port: hdf5 added
Priority: HighNormal
Status: newassigned

Please attach the main.log file.

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added

And the config.log file.

Changed 4 months ago by nsmirian (Najmeh Mirian)

Attachment: config.log added

Changed 4 months ago by nsmirian (Najmeh Mirian)

Attachment: main.log added

comment:3 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed
Summary: installation hdf5hdf5 @1.14.4.3: duplicate LC_RPATH '/opt/local/lib/libgcc'

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.

Note: See TracTickets for help on using tickets.