Building things with setup.py

Robert Kern robert.kern at gmail.com
Thu Sep 21 23:13:57 EDT 2006


James Stroud wrote:
> Hello All,
> 
> This is annoying. I am trying to build scipy right now but every .so 
> file requires my adding "-lpython2.5 -lpthread -lm -lutil -ldl -shared" 
> to the ld flags.

> I'm running Linux FC4 on a dual intel p4 (~3.2 GHz) with sundry 
> libraries in non-standard places. Is this non-standard part what's 
> killing me?

It's possible that distutils is not finding the information about how the python 
interpreter was built. Did you build your own python(1)? Is the information in 
$PREFIX/lib/python2.4/config/ accurate?

-- 
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 Python-list mailing list