[MacPorts] #66881: OpenBLAS @0.3.21_2+gcc12+lapack: broken header symlinks
MacPorts
noreply at macports.org
Mon Feb 13 10:48:02 UTC 2023
#66881: OpenBLAS @0.3.21_2+gcc12+lapack: broken header symlinks
-----------------------+-------------------------
Reporter: jmroot | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: OpenBLAS |
-----------------------+-------------------------
Comment (by Gandoon):
Replying to [comment:6 JDLH]:
> A workaround that was successful for me was to make a symbolic link
`cblas` which points to `openblas`. This means that the incorrect symbolic
links get redirected to the actual location of the include files. It
approximates, less well, what [https://github.com/macports/macports-
ports/pull/17662 PR 17662] does.
>
> Create the symbolic link with the shell command:
> {{{
> sudo ln -s openblas /opt/local/include/cblas
> }}}
>
> Once this ticket gets fixed, the extra link probably does no harm.
Still, it is better to delete that link with:
> {{{
> sudo rm /opt/local/include/cblas
> }}}
Since ther was no /opt/local/include/cblas and all the links were
dangling, I just manually relinked the requested .h-file links to those in
the openblas location, mirroring the effect of the PR. That works equally
well, and I will not end up with the link that you mentioned.
When the PR is accepted, I expect my system to be identical to the new
port revision (unless something new pops up).
--
Ticket URL: <https://trac.macports.org/ticket/66881#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list