-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking OpenBLAS wrong on OSX #28008
Comments
comment:2
is it because these binaries ignore pkg-config data, or is it faulty pkg-config data? |
comment:3
The |
comment:4
Is this a blocker? It will prevent upgrading Sage from 8.7 to 8.8 on OS X. |
comment:5
What if we copy dynlibs on MacOS rather than create symlinks? It seems that this is what Apple is actually doing:
And linking to So we can do the same (on MacOS only, arrgh...): always install openblas.dylib under a short name, and the long names would just be symlinks. |
comment:6
Replying to @jhpalmieri:
Why is this openblas-specific? |
comment:7
Replying to @dimpase:
Good question. I upgrade Sage frequently on several different OS X machines, and this is the first time I remember having this problem. |
comment:8
I can only guess why you haven't seen this before, but we don't upgrade openblas that often. Plus we used to not delete old files so you might have not realized that you were still using the old version. Having linked the wrong library there is little we can do to fix it, you really do need to do a |
comment:9
Another guess might be that the dependency on Or perhaps the need to rebuild is not working for some other reason. Perhaps Erik may say something about it. |
comment:10
Moving tickets from the Sage 8.8 milestone that have been actively worked on in the last six months to the next release milestone (optimistically). |
comment:11
I still don't know very well how Mach binaries or the MacOS linker work, but as this article suggests it does need to have the full, real path to linked dylibs in the binary, and so it may be necessary to muck around in some ways with One day I need to bite the bullet and study more about how MacOS works in this regard so that I can be more useful. |
comment:12
Ticket retargeted after milestone closed |
comment:14
Moving tickets to milestone sage-9.2 based on a review of last modification date, branch status, and severity. |
comment:16
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review. |
comment:17
Setting a new milestone for this ticket based on a cursory review. |
comment:18
Stalled in |
On OSX, various binaries link
libopenblas_$ARCH-$VERSION.dylib
instead of the symlinklibopenblas.dylib
. This obviously breaks Sage whenever we upgrade the openblas version...On Linux, everything is linked against
libopenblas.so
as it should.CC: @jhpalmieri @embray @mkoeppe
Component: packages: standard
Issue created by migration from https://trac.sagemath.org/ticket/28008
The text was updated successfully, but these errors were encountered: