Opened 2 years ago

Closed 2 years ago

#65557 closed defect (fixed)

ARPACK binary broken, can't find libgfortran

Reported by: szhorvat (Szabolcs Horvát) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: cjones051073 (Chris Jones), jmroot (Joshua Root)
Port: arpack

Description

When attempting to start programs that link to ARPACK, the following error occurs:

  Referenced from: /opt/local/lib/libarpack.2.dylib
  Reason: tried: '/opt/local/lib/libgfortran.5.dylib' (no such file), '/opt/local/lib/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-devel/gcc/aarch64-apple-darwin21/12.1.0/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-devel/gcc/aarch64-apple-darwin21/12.1.0/../../../libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file)

For example, install py310-igraph then start python3.10 and import igraph.

This happened on an ARM Mac. I did not see the same on an Intel Mac.

Possibly this is related to the ARM version using gcc-devel, or perhaps the recent GCC rpath change?

Change History (4)

comment:1 Changed 2 years ago by cjones051073 (Chris Jones)

First thing to try is to rev-bump the affected ports, to see if a rebuild against the updated libgcc etc. helps.

comment:2 Changed 2 years ago by szhorvat (Szabolcs Horvát)

Indeed, rebuilding from source works.

comment:3 Changed 2 years ago by Chris Jones <jonesc@…>

In 78a84795db94c2359145949e1f6433b6b4e89c0e/macports-ports (master):

arpack: rev-bump to rebuild with updated GCC
See: #65557

comment:4 Changed 2 years ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.