linking with math.so

imdognuts at yahoo.com imdognuts at yahoo.com
Thu May 11 12:49:50 EDT 2006


hi,
My application that contains the .o's that were generated from using
"freeze" needs to import math. The point of using freeze was to make a
static application that can be shipped as a single entity (it contains
the dot o's from libpython2.4.a), vs having to worry about  external
python dependencies.

"importing math" as far as I can tell right now,  invokes a shared
library (math.so).  Now I have a shared library dependency that I dont
want. Is there a way to get the math  functionality from a  dot a or a
dot o, so I dont have to make my app dependent on a shared library?
cos, sin, and pi which is what I need do not live in the libpython2.4.a
  - I did an nm on it.... I'm on linux.
thanks,
Nancy




More information about the Python-list mailing list