Eric Winter schrieb: > Hi all. I'm trying to build some internal code that needs to link > against libpython2.5.so on a OS X 10.4 (Tiger) machine. It seems that > no matter what combination of options and environment variables I give > to the configure script from python 2.5.1, all I get is the > libpython2.5.a (the static library). I've googled the problem and > searched the comp.lang.python archives, but I have been unable to find > anything that works. > > Is there some special magic I have to invoke to do this? I've not done > any Mac development, so there may be some obvious point I am missing. > The Python README file and configure script comments are not getting > me very far.
You have to start with a clean plate and use the --enable-shared option to configure: make distclean ./configure --enable-unicode=ucs4 --enable-shared make That will give you a libpython2.5.dylib. The suffix for shared libraries is .dylib on On Mac OS X, not .so! Christian -- http://mail.python.org/mailman/listinfo/python-list