#8049: libgfortran *must* get shipped with the Sage binaries
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  GeorgSWeber
       Type:  defect   |      Status:  new        
   Priority:  blocker  |   Milestone:  sage-4.3.2 
  Component:  build    |    Keywords:             
     Author:           |    Upstream:  N/A        
   Reviewer:           |      Merged:             
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by drkirkby):

 Actually, I think the C library too. The C library is very small anyway.
 If Sage is linked with a new library, and someone has an older one on
 their system, it could be a problem.

 'ldd' might be useful to get the location on Solaris, Linux or HP-UX, but
 not on OS X. Perhaps there is a more widely supported command, but I don't
 know of it.

 The configure script for gcc has these options.

 {{{
 Fine tuning of the installation directories:
   --bindir=DIR           user executables [EPREFIX/bin]
   --libdir=DIR           object code libraries [EPREFIX/lib]
 }}}

 so while one could guess at the location of libraries from the location of
 the gfortran binary, it is not guaranteed to be right.

 On Solaris, in 64-bit mode, it will be in a subdirectory too

 {{{
 drkir...@hawk:~$ find /usr/local -name libgfortran.so
 /usr/local/gcc-4.3.4/lib/amd64/libgfortran.so
 /usr/local/gcc-4.3.4/lib/libgfortran.so
 /usr/local/gcc-4.5-20100114/lib/amd64/libgfortran.so
 /usr/local/gcc-4.5-20100114/lib/libgfortran.so
 /usr/local/lib/amd64/libgfortran.so
 /usr/local/lib/libgfortran.so
 /usr/local/gcc-4.3.4-GNU-assembler-Sun-linker/lib/libgfortran.so
 /usr/local/gcc-4.3.4-GNU-assembler-Sun-linker/lib/amd64/libgfortran.so
 }}}

 Dave

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