#16044: Fix install_name for remaining libraries preventing build on OS X 10.4
PPC
--------------------------------------+------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: blocker | Milestone: sage-6.2
Component: packages: standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+------------------------
Comment (by fbissey):
Replying to [comment:5 leif]:
> Replying to [comment:4 kcrisman]:
> > > And whenever the Sage installation moves, we'll have to update all
those paths / `install_name`s, too.
> > So you're saying that any solution that fixes this is brittle? Sage
should be relocatable, at least that is the usual expectation (and is why
the `sage-location` script is/was always run, though with the reorganized
structure I'm still getting used to a few changes that may have happened
recently.)
>
> Well, as mentioned on the original ticket, Darwin's `install_name`
mechanism also supports flavours of ''relative'' paths, but François told
me that those features are only available on MacOS X 10.5 (or probably
10.6) and later, so we'll presumably have to treat 10.4 specially (at
least if we want to avoid useless rewrites or effectively no-ops).
`dyld`'s manpage on your 10.4 system should tell what's supported, not
necessarily `ld`'s. (It would also be interesting whether it supports
`DYLD_FALLBACK_LIBRARY_PATH`.)
>
@rpath is OS X 10.5+ but @loader_path and @execute_path are in 10.4. As it
happens we wouldn't want @rpath I think. @loader_path is apparently
filling the same role as "Origin" under linux. And @loader_path is what is
in polybori. I just don't know if it is correct in there.
--
Ticket URL: <http://trac.sagemath.org/ticket/16044#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.