[ python-Bugs-941346 ] AIX shared library fix
SourceForge.net
noreply at sourceforge.net
Mon Oct 3 05:58:28 CEST 2005
Bugs item #941346, was opened at 2004-04-24 08:21
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=941346&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dick Dunbar (dickdunbar)
Assigned to: Nobody/Anonymous (nobody)
Summary: AIX shared library fix
Initial Comment:
By default, the ld command only looks for *.a archives
to resolve library references.
To recognize dynamic shared libaries (*.so), two flags
need to be added to the Modules/ld_so_aix script: -brtl
-bnortllib
Line 170 in the script should read:
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl
-bnortllib -lm -o $objfile"
-brtl ... says you want to include libtk8.4.so
when searching for the library -ltk8.4
-bnortllib ... says you do not want the semantics of
the AIX "run time linking" services ... just the search
for the library.
This resolves a problem when Python is built with tk
support.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-02 20:58
Message:
Logged In: YES
user_id=33168
I added a comment based on the above information. I don't
want to make a real change, since I can't test it. If we
get access to some AIX boxes, we could really fix. I'm
hestitant to break stuff without testing.
Checked in as:
Modules/ld_so_aix 2.6
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=941346&group_id=5470
More information about the Python-bugs-list
mailing list