[Numpy-discussion] f2py from numpy 1.0.5 on OSX 10.4.11/QuadPPC fails with undefined symbols

Robert Kern robert.kern at gmail.com
Sat Mar 29 02:02:49 EDT 2008


On Fri, Mar 28, 2008 at 10:52 AM, Harry Mangalam <harry.mangalam at uci.edu> wrote:
>   Here's the last few lines of the command that was kicked off by:
>
>  f2py --opt="-O3" -c -m fd_rrt1d --fcompiler=g95  --link-lapack_opt *.f
>
>  (incidentally, this is the same final error from both the ports
>  version (1.0.4) and the self-built one (1.0.5). It's obviously a link
>  error, but to what lib and where to insert the -l specification?)
>
>  I originally ran this with the environment LDFLAGS set but then ran it
>  also with LDFLAGS set to "" and then UNset ie:
>  $unset LDFLAGS

Can you triple-check that the "unset LDFLAGS" worked by using env(1)?
You still seem to have a -L/Users/hjm/lib flag that is obviously not
coming from the command line.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list