[Python-bugs-list] [ python-Bugs-404274 ] Linking error on AIX (Python 1.5.2)

noreply@sourceforge.net noreply@sourceforge.net
Wed, 05 Sep 2001 05:05:20 -0700


Bugs item #404274, was opened at 2001-02-26 04:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=404274&group_id=5470

Category: Distutils
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Rene Liebscher (rliebscher)
Assigned to: A.M. Kuchling (akuchling)
Summary: Linking error on AIX (Python 1.5.2)

Initial Comment:
The patch from 1.32 to 1.33 of file sysconfig.py
removes some special actions for AIX and BeOS
concerning the paths to the linker scripts.

On Python 1.5.2 these parts are still needed, 
because it doesn't have this new style of Makefile
( LDSHARED and BLDSHARED )

The old version (1.5.2) has no BLDSHARED so if is not
found you could execute the old code to stay
compatible.

Or you declare that Distutils is not suited for
versions <2.X.


Error message (PyOpenGL build):
../././Modules/ld_so_aix cc
build/temp.aix-3-000769244C00-1.5/_openglmodule.o
-L/usr/local/lib -L/usr/X11/lib -L/usr/X11R6/lib
-L/usr/lib -lGL -lX11 -lXext -o
build/lib.aix-3-000769244C00-1.5/OpenGL/dynload/aix4/_opengl.so
unable to execute ../././Modules/ld_so_aix: No such
file or directory
error: command '../././Modules/ld_so_aix' failed with
exit status 1


----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2001-09-05 05:05

Message:
Logged In: YES 
user_id=11375

Checked into revision 1.43 of sysconfig.py.


----------------------------------------------------------------------

Comment By: Rene Liebscher (rliebscher)
Date: 2001-09-04 23:27

Message:
Logged In: YES 
user_id=28463

It works for me. 
No problems building the lastest versions of Numerical 
Python or PyOpenGL with this patch.


----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2001-09-04 12:36

Message:
Logged In: YES 
user_id=11375

Rene, can you please try this patch, and confirm whether 
or not it works for you?   If so, I'll check it in.


----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2001-08-16 13:54

Message:
Logged In: YES 
user_id=11375

It's too early to drop 1.5.2 support.  (When that's done, 
the Distutils version will probably be bumped to 1.1.)

I've attached a patch that brings back the old code.
With this patch, does it work with 1.5.2 again


----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-02-28 20:55

Message:
Logged In: YES 
user_id=3066

Greg, you're the distutils guru...

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=404274&group_id=5470