Opened 5 years ago

Closed 5 years ago

#59958 closed defect (fixed)

cannot install OpenBLAS

Reported by: manulcaux Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

Trying to install OpenBLAS after having ran sudo port self update and sudo port upgrade outdated failed with the error in the attached file.

I also tried to make a sudo port clean OpenBLAS, followed by a sudo port install OpenBLAS, as well as a sudo port uninstall OpenBLAS followed by a sudo port install OpenBLAS, all with the same error.

Thanks

Attachments (1)

main.log (2.9 MB) - added by manulcaux 5 years ago.

Change History (4)

Changed 5 years ago by manulcaux

Attachment: main.log added

comment:1 Changed 5 years ago by kencu (Ken)

as you can see, it looks like your particular installation of ld64 was built against llvm-3.9, but that has now been deprecated, and the llvm-3.9 libraries no longer exist, ergo your error.

:info:build compilation terminated.
:info:build dyld: Library not loaded: /opt/local/libexec/llvm-3.9/lib/libLTO.dylib
:info:build   Referenced from: /opt/local/bin/ld
:info:build   Reason: image not found

I believe you should most easily fix your troubles if you do this:

sudo port -f uninstall ld64
sudo port -v install ld64

that should give you a working ld64.

and then try your OpenBLAS build again.

comment:2 Changed 5 years ago by manulcaux

Indeed, this did the job, everything seems OK now.

Many thanks !

comment:3 Changed 5 years ago by kencu (Ken)

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