[Python-bugs-list] [Bug #110625] trouble building under Solaris 7 (PR#260)

noreply@sourceforge.net noreply@sourceforge.net
Sun, 6 Aug 2000 14:25:13 -0700


Bug #110625, was updated on 2000-Jul-31 14:08
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: trouble building under Solaris 7 (PR#260)

Details: Jitterbug-Id: 260
Submitted-By: lipman@helix.nih.gov
Date: Fri, 31 Mar 2000 18:03:56 -0500 (EST)
Version: 1.5.2
OS: Solaris 7 106541-08


When I built Python on my machine:

SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10

Python's internal symbols (for instance PySequence_Length) were not
included in the dynamic symbol table of the python executable.  This
prevented the Numerical-15.2 extensions from importing properly.  My
machine has both the Sun linker (in /usr/ccs/bin) and the GNU linker
installed.  I use the GNU linker, which is first in the $PATH under
which Python was built.

A workaround for this problem is to change the following line in
Modules/Makefile.pre from

LDFLAGS=

to

LDFLAGS= -export-dynamic

This will only work for the GNU linker.



====================================================================
Audit trail:
Mon May 22 17:39:59 2000	guido	changed notes
Mon May 22 17:39:59 2000	guido	moved from incoming to open

Follow-Ups:

Date: 2000-Aug-06 14:25
By: twouters

Comment:
This might be fixed by newer autoconf ?
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110625&group_id=5470