[Python-bugs-list] [Bug #116117] cmath & umath fail to load on HPUX10.2

noreply@sourceforge.net noreply@sourceforge.net
Thu, 5 Oct 2000 09:07:51 -0700


Bug #116117, was updated on 2000-Oct-05 05:21
Here is a current snapshot of the bug.

Project: Python
Category: Modules
Status: Closed
Resolution: Wont Fix
Bug Group: Platform-specific
Priority: 6
Summary: cmath & umath fail to load on HPUX10.2

Details: Happens for builds of Python 1.6
with either cc or gcc.  I was able to fix this by adding "-lm" to
the build lines for both cmathmodule.sl and mathmodule.sl.
The problem does not occur with HPUX11.

Seems like one needs a SHLIB_LIBS variable in configure
or some such?

(To test, one just starts up python - built with shared modules -
and says "import math")



Follow-Ups:

Date: 2000-Oct-05 08:29
By: bwarsaw

Comment:
Sorry, I don't know anything about HPUX, nor do I have a machine to test this, or a possible fix, on.  I'm sure we'd accept patches against Python 2.0's configure script.

Re-assigning to Jeremy for disposition.
-------------------------------------------------------

Date: 2000-Oct-05 09:07
By: jhylton

Comment:
The Setup file includes a comment noting the need to add the -lm flag.  It looks like you also figured it out.  We would be happy to accept a patch to configure.in that fixes this, but there is no bug per see.

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

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