[ python-Bugs-941346 ] AIX shared library fix
SourceForge.net
noreply at sourceforge.net
Sat Apr 24 11:21:59 EDT 2004
Bugs item #941346, was opened at 2004-04-24 15:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=941346&group_id=5470
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.
----------------------------------------------------------------------
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