[MacPorts] #61058: gcc6 @6.4.0: dyld: Library not loaded: /opt/local/lib/libisl.15.dylib (was: problem fortran)
MacPorts
noreply at macports.org
Mon Aug 24 15:28:27 UTC 2020
#61058: gcc6 @6.4.0: dyld: Library not loaded: /opt/local/lib/libisl.15.dylib
---------------------------+--------------------
Reporter: annaguelcher | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gcc6 |
---------------------------+--------------------
Changes (by ryandesign):
* keywords: fortran gcc compiling =>
* port: => gcc6
* milestone: MacPorts 2.7.0 =>
Old description:
> 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$
New description:
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$
}}}
--
Comment:
The error message shows that you have gcc6 @6.4.0, which is years out of
date. (We [changeset:cdcf370138f689543c608e7066077b35e4615d80/macports-
ports 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.
--
Ticket URL: <https://trac.macports.org/ticket/61058#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list