#16017: Get libs.mwrank to compile on OS X 10.4
-------------------------------------+-------------------------------------
       Reporter:  kcrisman           |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.2
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  Darwin 8 linker    |    Reviewers:  Karl-Dieter Crisman
  error install_name libflint.dylib  |  Work issues:
        Authors:  François Bissey    |       Commit:
Report Upstream:  N/A                |  6c25897014779846c65035baca4b0110bf6a056e
         Branch:                     |     Stopgaps:
  u/fbissey/flint2.4.3               |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by leif):

 Replying to [comment:55 leif]:
 > If relocation is (at least partially) broken on Darwin anyway, the
 change doesn't make a difference to the others, i.e., it doesn't really
 worsen the situation.
 >
 > On Darwin, we have absolute paths in (most of) all other libraries
 already; fixing that is subject of another ticket I'd say.

 Ways to go (not excluding each other):

  * Putting Sage's library folders into `DYLD_FALLBACK_LIBRARY_PATH`;
 rather a work-around (not to say hack).

  * Rewriting all dylibs in `sage-location` (''adjusting'' all absolute
 paths / `install_name`s).  (Raises the question whether
 `install_name_tool` is available "by default", i.e., at least shipped with
 something (e.g. XCode?) Sage requires anyway, for ordinary as opposed to
 development use.  And the lengths of the new filenames might be an issue.)

  * Using relative paths in `install_name`s (presumably
 `@loader_path/...`).  This could be done (just) in `sage-location` or some
 other post-inst hook as well, in the long run (also) changing build
 scripts (or just settings) and presumably patching a couple of upstream
 packages.

 ----

 ''Ads by G!**gle''

 Buy the [https://bitbucket.org/vbraun/compilerwrapper compiler wrapper]
 NOW!!!

--
Ticket URL: <http://trac.sagemath.org/ticket/16017#comment:57>
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.

Reply via email to