#9987: Shared readline library uses a .so extension on AIX when it should be .a
----------------------------------+-----------------------------------------
   Reporter:  drkirkby            |       Owner:  drkirkby                      
              
       Type:  defect              |      Status:  new                           
              
   Priority:  minor               |   Milestone:  sage-4.6                      
              
  Component:  AIX or HP-UX ports  |    Keywords:                                
              
     Author:                      |    Upstream:  None of the above - read trac 
for reasoning.
   Reviewer:                      |      Merged:                                
              
Work_issues:                      |  
----------------------------------+-----------------------------------------
 Using the following system:

  * IBM
 
[http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.pseries.doc/hardware_docs/rs6000_7025f50series.htm
 RS/6000 7025 F50]
  * 4 x 332 MHz 32-bit PowerPC CPUs
  * 3 GB RAM
  * A fair wide mixture of disks sizes (3 x 9 GB, 1 x 18 GB, 2 x 36 GB and
 1 x 73 GB)
  * DDS-4 tape drive
  * AIX 5.3 (A POSIX certified operating system)
  * gcc 4.2.4 downloaded from [http://pware.hvcc.edu/ pware]
  * sage-4.6.alpha1

 Readline builds, but then if we look at the libraries, one has the wrong
 extension.

 {{{
 -bash-4.1$ ls -l local/lib/libreadline*
 -rwxr-xr-x   1 drkirkby staff       1739661 23 Sep 15:43
 local/lib/libreadline.a
 lrwxrwxrwx   1 drkirkby staff            16 23 Sep 15:43
 local/lib/libreadline.so -> libreadline.so.6
 -rwxr-xr-x   1 drkirkby staff       1145940 23 Sep 15:43
 local/lib/libreadline.so.6
 -bash-4.1$
 -bash-4.1$
 -bash-4.1$ file local/lib/libreadline.a     local/lib/libreadline.so
 local/lib/libreadline.so.6
 local/lib/libreadline.a: archive (big format)
 local/lib/libreadline.so: executable (RISC System/6000) or object module
 not stripped
 local/lib/libreadline.so.6: executable (RISC System/6000) or object module
 not stripped

 }}}

 I don't know AIX well, but I suspect the .a is a static library here, and
 the .so is a shared library. But AIX uses .a for shared libraries. (I
 don't know what it uses for static libraries - it might be .o).

 This is probably a mis-configuration in Sage.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9987>
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