My system is running Mac OS High Sierra: 10.13.6. I Installed mod-wsgi 4.6.4 using the pip installer inside of a conda environment.
Before installing mod-wsgi I set the APXS environment var to point to the apxs in XAMPP: export APXS=/Applications/XAMPP/xamppfiles/bin/ When I started up the Apache Web Server using the XAMPP interface, I received the following error: httpd: Syntax error on line 523 of > /Applications/XAMPP/xamppfiles/etc/httpd.conf: Syntax error on line 7 of > /Applications/XAMPP/xamppfiles/apache2/conf/httpd.conf: Cannot load > /Users/Andres/Applications/miniconda/envs/testEnv/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so > > into server: > dlopen(/Users/Andres/Applications/miniconda/envs/testEnv/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so, > > 10): Symbol not found: _apr_file_info_get$INODE64\n Referenced from: > /Users/Andres/Applications/miniconda/envs/testEnv/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so\n > > Expected in: flat namespace\n in > /Users/Andres/Applications/miniconda/envs/testEnv/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so Here is part of my httpd.conf file: LoadFile > "/Users/Andres/Applications/miniconda/envs/testEnv/lib/libpython3.6m.dylib" > LoadModule wsgi_module > "/Users/Andres/Applications/miniconda/envs/testEnv/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so" > WSGIPythonHome "/Users/Andres/Applications/miniconda/envs/testEnv" This information was copied from the output of: mod_wsgi-express module-config Any help would be appreciated. I've successfully set up a wsgi application with venv, but I'd like to try using conda. -- 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.
