[SciPy-user] Undefined symbol "ATL_cpttrsm"

Pearu Peterson pearu at scipy.org
Tue Nov 2 17:10:52 EST 2004



On Wed, 3 Nov 2004, Lee Harr wrote:

>> Ok, try again the updated scipy from CVS.
>> 
>> Seems like on freebsd HAVE_INVERSE_HYPERBOLIC is defined somewhere but 
>> inverse hyberbolic functions may have different names from acosh, asing, 
>> atanh. I have fixed this by forcing -UHAVE_INVERSE_HYPERBOLIC.
>> 
>
>
> Still the same error ...   Here is the end of the message...
>
> error: Command "cc -fno-strict-aliasing -DNDEBUG -O -pipe -D_THREAD_SAFE 
> -DTHREAD_STACK_SIZE=0x20000 -O -pipe -fPIC -DUSE_MCONF_LITE_LE 
> -UHAVE_INVERSE_HYPERBOLIC -I/usr/local/include/python2.3 -c 
> scipy_core/scipy_base/fastumathmodule.c -o 
> build/temp.freebsd-4.10-STABLE-i386-2.3/scipy_core/scipy_base/fastumathmodule.o" 
> failed with exit status 1
>
>
> so HAVE_INVERSE_HYPERBOLIC is there, but apparently that is not
> the fix.

Strange..

> Here is a snip from the acosh man page:
>
> LIBRARY
>    Math Library (libm, -lm)
>
> SYNOPSIS
>    #include <math.h>
>
>    double
>    acosh(double x);
>
> Actually, I just made a test program to see if I could find acosh
> and it needs -lm to link in the math library.  I am looking around
> in system_info.py but I am not sure where to add this ...

Update scipy_base from CVS and try again. It's setup file now uses -lm
to link fastumath module.

Pearu




More information about the SciPy-User mailing list