Menu

Using PyApache as a DSO with Apache 2.0.16

Help
David Gee
2001-09-27
2004-03-18
  • David Gee

    David Gee - 2001-09-27

    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?

     
    • David Gee

      David Gee - 2001-09-27

      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

       
    • Eddie Parker

      Eddie Parker - 2004-03-18

      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.

       

Log in to post a comment.