Opened 5 years ago

Closed 5 years ago

#58587 closed defect (worksforme)

OpenBLAS: libgcc not found

Reported by: amadeus24 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: NicosPavlov, michaelld (Michael Dickens)
Port: OpenBLAS

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

Hi,

it seems the problem starts here:

:info:build ld: library not found for -lgcc_ext.10.5

See the attached log-file.
Thanks

Attachments (3)

main.log (3.0 MB) - added by amadeus24 5 years ago.
config.log (12.0 KB) - added by amadeus24 5 years ago.
arrack config.log
config.2.log (12.0 KB) - added by amadeus24 5 years ago.
arpack config.log

Change History (9)

Changed 5 years ago by amadeus24

Attachment: main.log added

comment:1 Changed 5 years ago by michaelld (Michael Dickens)

Can you do the following:

sudo port clean openblas
sudo port selfupdate
sudo port install openblas

Hopefully that will take care of the issue.

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: OpenBLAS don't build removed
Milestone: MacPorts 2.6.0

Changed 5 years ago by amadeus24

Attachment: config.log added

arrack config.log

Changed 5 years ago by amadeus24

Attachment: config.2.log added

arpack config.log

comment:3 Changed 5 years ago by amadeus24

Thanks for instructions.
Did that and OpenBLAS was installed, but I end-up in a problem with arpack and OpenBLAS is recognised as a broken port.
After OpenBLAS was installed, a rev-upgrade process started:

--->  Scanning binaries for linking errors
--->  Found 52 broken files, matching files to ports
--->  Found 7 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 arpack @3.7.0+accelerate+gfortran
 libgcc7 @7.4.0
 libgcc6 @6.5.0
 gcc5 @5.5.0
 pdftk @2.02+gcc5
 OpenBLAS @0.3.6+gcc9+lapack
 VLC @3.0.6+quartz
--->  Computing dependencies for arpack
--->  Fetching distfiles for arpack
--->  Verifying checksums for arpack
--->  Extracting arpack
--->  Applying patches to arpack
--->  Configuring arpack
Error: Failed to configure arpack, consult  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_arpack/arpack/work/arpack-ng-3.7.0/config.log

Sorry, accidentally I have submitted the arpack config-log x 2.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Does installing or updating libgcc9 as suggested here help?

comment:5 Changed 5 years ago by amadeus24

Thanks! This did solve the issue.

comment:6 Changed 5 years ago by NicosPavlov

Resolution: worksforme
Status: newclosed
Summary: OpneBLAS don't buildOpenBLAS: libgcc not found
Note: See TracTickets for help on using tickets.