Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#50669 closed defect (fixed)

Openblas-devel fail to buils - library not found for -lgfortran

Reported by: hugo-ribeiro (Hugo Ribeiro) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: michaelld (Michael Dickens)
Port: OpenBLAS-devel

Description

Openblas-devel fails to build as it cannot find gcc's (I have mp-gcc5 active) fortran library.

ld: library not found for -lgfortran

Previous version of openblas-devel compiled fine.

Creating a symlink "libgfortran.dylib" in "/opt/local/lib" that points to "/opt/local/lib/gcc5/libgfortran.dylib" can be used as a workaround if you really want to build the newest openblas-devel port.

Attachments (1)

main.log.tar.gz (162.4 KB) - added by hugo-ribeiro (Hugo Ribeiro) 8 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by hugo-ribeiro (Hugo Ribeiro)

Attachment: main.log.tar.gz added

main.log

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: nicos@… removed
Owner: changed from macports-tickets@… to nicos@…
Port: OpenBLAS-devel added

In the future, please fill in the Port field.

comment:2 Changed 8 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

There was indeed a build error in the latest commit. This should be fixed with the update in r145909.

comment:3 Changed 8 years ago by michaelld (Michael Dickens)

This was a build error with +clang only; it did not happen with any of the +gcc* variants. I highly recommend you remove the symlink "libgfortran.dylib", since it is not part of the MacPorts install.

Note: See TracTickets for help on using tickets.