I'm having trouble using apxs to compile mod_pyapache.c for use as a DSO with Apache 2 - it gives me a .lo and a .slo file instead of a .so file. Has anybody successfully installed third-party modules with Apache 2?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think PyApache doesn't compile successfully with apxs on Apache 2.0. I was reading the notes, and it says that there's something funky with apxs for 2.0 - it doesn't allow for proper symbol resolution, I'm guessing.
Supposedly you should use the makefile entitled Makefile.apache2, type make -f Makefile.apache2, and everything should be rosy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having trouble using apxs to compile mod_pyapache.c for use as a DSO with Apache 2 - it gives me a .lo and a .slo file instead of a .so file. Has anybody successfully installed third-party modules with Apache 2?
never mind, figured that out. However, I still get an error when trying to load mod_pyapache.so :
Cannot load /usr/local/apache2/libexec/mod_pyapache.so into server: /usr/local/apache2/libexec/mod_p
yapache.so: undefined symbol: PyExc_IOError
any help would be appreciated
I think PyApache doesn't compile successfully with apxs on Apache 2.0. I was reading the notes, and it says that there's something funky with apxs for 2.0 - it doesn't allow for proper symbol resolution, I'm guessing.
Supposedly you should use the makefile entitled Makefile.apache2, type make -f Makefile.apache2, and everything should be rosy.