> On 30 Jun 2016, at 12:34 PM, Chris O. <[email protected]> wrote:
> 
> (Just as a warning, I might not have any idea what I'm doing.)
> I don't think this is relevant, but I'm trying to use mod_wsgi because I'm 
> using a Bottle application on an Apache server, and it seems the only way to 
> do that without Bottle starting its own server is by using mod_wsgi.
> 
> System I'm using: Linux version 2.6.32-573.12.1.el6.x86_64 (gcc version 4.4.4 
> (Red Hat 4.4.7-16)) Red Hat Enterprise Linux Server release 6.8 (Santiago)
> 
> So I downloaded mod_wsgi 3.5 from GitHub,

The latest version of mod_wsgi is version 4.5.3. Is there a specific reason you 
are using such an old mod_wsgi version? It is over 20 versions behind.

> installed it into the Apache modules directory (Apache 2.2.15 Unix),

How did you install it? Were you using the traditional ‘configure/make/make 
install’ method.

Which version of Python are you using? Are you using Python from Software 
Collections?

You should not use the system Python on RHEL as it is old.

> and set the LD_LIBRARY_PATH so it stopped telling me it couldn't find the 
> shared libpython thing (I wouldn't think it would be the cause of my current 
> problem, but I can redo it and set the proper run path later).

Where were you setting LD_LIBRARY_PATH? What were you doing when you were 
seeing the error that suggested you need to set this.

One cannot set LD_LIBRARY_PATH in your user environment and have it affect 
Apache. Setting LD_LIBRARY_PATH isn’t the recommended way when using mod_wsgi 
of handling shared libraries in non standard locations such as occurs with 
Software Collections version of Python. There is a better way of ensuring 
mod_wsgi can find the correct Python library at run time.

> Now, though, I get the line "httpd: Syntax error on line 105 of 
> .../httpd.conf: Cannot load .../modules/mod_wsgi.so into server: 
> .../modules/mod_wsgi.so: undefined symbol: ap_null_cleanup" when trying to 
> restart the Apache server. Any ideas?
> 
> In the event that this is certainly because I'm missing the dev packages of 
> Apache or Python, would you be able to show me where I can find them? I have 
> no idea if this system has the dev packages and I do not where I would go to 
> download them (maybe I just haven't been looking hard enough though).

Where is Apache coming from? Are you trying to use that from Software 
Collections as well?

This looks a little bit like a mix up of Apache versions. That is, the Apache 
version you are running, is different to what Apache headers files are being 
found.

> Thanks,
> ~Chris O.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to