顯示具有 modswgi 標籤的文章。 顯示所有文章
顯示具有 modswgi 標籤的文章。 顯示所有文章

2014年4月7日 星期一

libpython2.7.so.1.0 => not found

# ln -s /usr/local/lib/libpython2.7.so.1.0 /usr/lib64/




References :
Python executable not finding libpython shared library - Stack Overflow

CentOS compile moswsgi with Python 2.7

# yum install mercurial httpd-devel
$ hg clone https://code.google.com/p/modwsgi/
$ cd modwsgi/mod_wsgi
$ ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python2.7
$ make
# make install
# vi /etc/httpd/conf/httpd.conf
LoadModule wsgi_module modules/mod_wsgi.so




References :
Running our Django site with mod_wsgi and virtualenv (part 2) | techno milk