> > Just don't even think of passing --enable-shared to Python's configure, > and it will all work fine, and you won't need to use ldconfig. > Well I've done --enable-shared so that I can compile mod_python as a shared object within apache. Created /etc/ld.so.conf.d/python2.5.conf on a redhat system, and put / opt/python/lib and it works no probs.
> > Installing *other* stuff (but Python) from source is something that you > should completely avoid. Instead of installing zlib, you should have > just installed Debian's zlib1g-dev package. Likewise for any other > header files that you will need. The libraries provided by Debian are > sufficient for building Python 2.6 with all extension modules (that > can possibly work on Linux). Each to their own. I have a hosted virtual server, and I would like to get another one for another project. I want as much built from source as I can manage so that I know what is and what is not on the system. zlib is compiled with --enable-shared in /opt/zlib-1.2.3 and I've ldconfig -n /opt/zlib-1.2.3/lib I'm compiling python from source, because the server is running redhat 5 which comes with python 2.4 To run trac you need python2.5 I'm running into a problem where zlib is not available even though there is a copy in /usr/lib/ of the version I compiled. In /usr/local/src/Python2.5.2 I'm doing: ./configure --enable-shared --prefix=/opt/python --with-zlib=/opt/ zlib-1.2.3 make make install When running the setuptools egg, it says zlib unavailable. Back in the config.log of the Python2.5.2 source directory, it shows that it's passed in, but in that file there is a --with-system-zlib How do I get zlib available to python? Cheers -- http://mail.python.org/mailman/listinfo/python-list