Strange Python Compilation Results With "--enable-shared" Flag
I am using Debian (which comes with Python-2.7.3), trying to compile Python-2.7.6 from source for use with mod_wsgi alongside Apache. Apparently you must use --enable-shared when c
Solution 1:
When you do the make of Python, run it as:
LD_RUN_PATH=/usr/local/lib make
Setting the environment variable LD_RUN_PATH forces 'python' executable generated to look in /usr/local/lib before /usr/lib for Python shared library.
This is mentioned in the mod_wsgi documentation.
Before doing this again, make sure you do a 'make distclean' and rerun configure to make sure you haven't got old build products around.
Post a Comment for "Strange Python Compilation Results With "--enable-shared" Flag"