tthtlc / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
1 stars 0 forks source link

Cannot run mod_wsgi #135

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After building unladen with the following options, I tried to run my webapps 
with mod_wsgi (that uses the shared lib) and here is what I get :

/usr/lib/libpython2.6.so.1.0: undefined symbol: 
_ZTVN10__cxxabiv121__vmi_class_type_infoE

The version of unladen used is the latest svn (r1078)

Original issue reported on code.google.com by dory.thi...@gmail.com on 13 Feb 2010 at 1:03

GoogleCodeExporter commented 9 years ago
Sorry, the options are : --prefix=/usr --enable-shared --with-threads 
--enable-unicode

Original comment by dory.thi...@gmail.com on 13 Feb 2010 at 1:17

GoogleCodeExporter commented 9 years ago
Which version of mod_wsgi was this? Which options did you configure mod_wsgi 
with?

Original comment by collinw on 19 Feb 2010 at 8:14

GoogleCodeExporter commented 9 years ago
The version of mod_wsgi is 3.1 and I configured it with all the defaults 
options.

Original comment by dory.thi...@gmail.com on 19 Feb 2010 at 9:01

GoogleCodeExporter commented 9 years ago
I was hoping that mod_wsgi had tests I could run, but of course it doesn't. I 
don't 
have a mod_wsgi-based web app handy, or even a configured Apache server. Do you 
have 
an easy way to reproduce this failure?

Original comment by collinw on 11 Mar 2010 at 9:52

GoogleCodeExporter commented 9 years ago
Yeah sure here is how to do it :

1) Build and install unladen with shared lib support
2) Go to mod_wsgi src folder and run make then make install
3) Add a line "LoadModule wsgi_module modules/mod_wsgi.so" to you apache conf 
file
4) start apache and see log file or launch directly the apache exec as root in 
you 
terminal

Original comment by dory.thi...@gmail.com on 13 Mar 2010 at 11:22