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
Mac Binary distribution contains hardcoded absolute paths #11681
Comments
comment:1
An ugly work-around is to create the original build directory (which ordinary users may not be able to), and make it a symbolic link to the new location ( In principle all shared libraries should have relative For ELF on UNIX / Linux etc., there is a tool |
comment:2
The counterpart of "chrpath" on OS X is called "install_name_tool", FWIW. |
comment:3
Alexander, just curious: How does your |
comment:4
(Any definition of |
comment:5
Replying to @nexttime:
I'm meanwhile no longer sure about that, since (to me) it looks as if The following is definitely invalid and should be removed: (I've seen this as a result of a build from scratch; reinstalling e.g.
The following are both ok (at least until the Sage installation moves, which
Unfortunately, the correction of the paths in Furthermore, This means that |
comment:6
As you know, this causes problems elsewhere as well. Is there a way to grep through this particular one and find all the places this is a problem? |
comment:11
Is this still an issue? |
comment:12
Obsolete by the new binary packaging. |
Reviewer: Jeroen Demeyer |
comment:14
Really, are you sure there no "buildbot" or "buildslave" things? I note that we still occasionally get such questions on ask.sagemath. |
At least the following image:
http://boxen.math.washington.edu/sage/osx/intel/sage-4.7-OSX-64bit-10.6-i386-Darwin.dmg
is defect. The build contains hardcode absolute paths the dynamic libs, e.g. something like
libpng12.dynlib
is looked up at/Users/buildbot/build...
.This makes it impossible to install spkgs which depend on libraries delivered by Sage. For instance, the spkg/patch from #11575 builds and installs, but is corrupted afterwards.
Component: build
Keywords: Mac build paths
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/11681
The text was updated successfully, but these errors were encountered: