#9668: Fix hardcoding of paths in R binary
---------------------------------------------------------------------------------------------------------------+
       Reporter:  kcrisman                                                      
                               |         Owner:  leif                        
           Type:  defect                                                        
                               |        Status:  new                         
       Priority:  major                                                         
                               |     Milestone:  sage-5.4                    
      Component:  packages                                                      
                               |    Resolution:                              
       Keywords:  R spkg R.sh.in libR.pc pkg-config hard-coded package 
installation R_HOME_DIR sd32 r-project  |   Work issues:  Provide an R 
2.10.1.p6 spkg.
Report Upstream:  N/A                                                           
                               |     Reviewers:                              
        Authors:                                                                
                               |     Merged in:                              
   Dependencies:  #9906                                                         
                               |      Stopgaps:                              
---------------------------------------------------------------------------------------------------------------+

Comment (by jhpalmieri):

 This problem prevents Sage from being relocatable on Solaris, or at least
 on the skynet machines mark and mark2: if I build Sage, then move the
 entire Sage directory, then run `sage` so the relocation scripts get
 executed, and then run `sage -R`, I get an error:
 {{{
 $ ./sage -R
 ld.so.1: R: fatal: libgcc_s.so.1: version `GCC_4.3.0' not found (required
 by file /usr/local/gcc-4.7.0/sparc-SunOS-ultrasparc3/lib/libgomp.so.1)
 ld.so.1: R: fatal: libgcc_s.so.1: open failed: No such file or directory
 /home/palmieri/mark2/sage-5.4.rc2-7797/spkg/bin/sage: line 457: 28710
 Killed                  "$SAGE_LOCAL/bin/R" "$@"
 }}}
 I tried just modifying local/bin/R and local/lib/R/bin/R, replacing the
 hard-coded paths with `$SAGE_ROOT`, but I still got an error.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9668#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to