Opened 4 years ago

Last modified 4 years ago

#61058 new defect

gcc6 @6.4.0: dyld: Library not loaded: /opt/local/lib/libisl.15.dylib

Reported by: annaguelcher (Anna Gülcher) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gcc6

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

Hi there. I have run the following commands:

sudo port upgrade outdated
mpirun --version
sudo port -f activate libgcc10

(and then I deactivated). I have a gfortran error, though(see below). Could you please where I should even check

(because I

staff-net-nw-2010:TEST annagulcher$ gfortran -fopenmp openmp-test.f90
dyld: Library not loaded: /opt/local/lib/libisl.15.dylib
  Referenced from: /opt/local/libexec/gcc/x86_64-apple-darwin17/6.4.0/f951
  Reason: image not found
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.
staff-net-nw-2010:TEST annagulcher$ 

Change History (1)

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

Description: modified (diff)
Keywords: fortran gcc compiling removed
Milestone: MacPorts 2.7.0
Port: gcc6 added
Summary: problem fortrangcc6 @6.4.0: dyld: Library not loaded: /opt/local/lib/libisl.15.dylib

The error message shows that you have gcc6 @6.4.0, which is years out of date. (We updated gcc6 to 6.5.0 in 2018.) And it failed to work because it is linked to an outdated version of isl which is no longer present.

The fix is to upgrade to gcc6 @6.5.0. I'm not sure why running sudo port upgrade outdated didn't do that for you.

What do you see when you run port installed gcc6?

Why did you have to sudo port -f activate libgcc10? You should not need to force activate anything.

Note: See TracTickets for help on using tickets.