[SciPy-user] Undefined symbol "ATL_cpttrsm"

Pearu Peterson pearu at scipy.org
Tue Nov 2 16:10:52 CST 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 
> -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.


> Here is a snip from the acosh man page:
>    Math Library (libm, -lm)
>    #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.


More information about the SciPy-user mailing list