On 10 August 2012 15:14, quantoid <[email protected]> wrote: > Finally fixed the build using symlink trick described under "Caveats" here: > http://cysec.org/content/compiling-modwsgi-custom-python-build > > A couple of improvements to the makefile could save folks like me quite a > bit of time: > > 1. Allow mod_wsgi to link against the static libpython.a rather than > requiring a shared library.
Do not do that. Linking in the static library is bad for other reasons including processes using a lot more memory. http://code.google.com/p/modwsgi/wiki/InstallationIssues#Lack_Of_Python_Shared_Library > 2. Look for libraries in /usr/local/lib before /usr/lib or /usr/lib64. Run mod_wsgi build as: LD_RUN_PATH=/usr/local/lib make That is set LD_RUN_PATH to directory where Python library is installed. That will force reference to it. http://code.google.com/p/modwsgi/wiki/InstallationIssues#Unable_To_Find_Python_Shared_Library Test that correct library being used: http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Python_Shared_Library Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
