#9987: Shared readline library uses a .so extension on AIX when it should be .a
-------------------------------------+-------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: closed
Priority: minor | Milestone: sage-
Component: porting: AIX or | duplicate/invalid/wontfix
HP-UX | Resolution: invalid
Keywords: | Merged in:
Authors: | Reviewers: Volker Braun
Report Upstream: None of the above | Work issues:
- read trac for reasoning. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fbissey):
While this is now closed I should add a couple of comments. AIX doesn't
use elf format but xcoff (google it). The .a from aix can contain both
static and dynamic libraries. They also can contain both 32 and 64bit
objects all at the same type. The linker works out what it needs at
linking time.
".so" linux style shared libraries are allowed with recent linkers of AIX
(I don't know if it extends as far back as AIX 5.3 it is definitely in
6.1) but you need to know the extra linking flags to use them "-G" and
"-brtl" depending on the case. It is all pretty dangerous and it is best
to leave the task of making the libraries to libtool if possible.
--
Ticket URL: <http://trac.sagemath.org/ticket/9987#comment:8>
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.