So mod_wsgi-express seems like a lovely way to quickly deploy a fairly 
simple Flask application that I have, but I've run into an issue that I 
can't seem to solve.  It's probably pretty simple though...my Flask 
application runs fine with the dev server included with Flask.  When I 
attempt to run the same application using mod_wsgi-express start-server, it 
fails.  Looking at the error log, I can see that i fails because the Oracle 
Instant client fails to load.  How can I fix this?  Python and Flask are 
all installed in a virtualenv.

OS X El Capitan 10.11.6

wsgi.py:
from app import app as application

snippet of error_log:

[Tue Aug 23 12:47:05.771184 2016] [wsgi:error] [pid 1508]   File 
"/Users/teemu/edge_tools/app/__init__.py", line 1, in <module>

[Tue Aug 23 12:47:05.771210 2016] [wsgi:error] [pid 1508]     import 
cx_Oracle

[Tue Aug 23 12:47:05.771225 2016] [wsgi:error] [pid 1508] ImportError: 
dlopen(/Users/teemu/edge_tools/flask/lib/python2.7/site-packages/cx_Oracle.so, 
2): Library not loaded: 
/ade/b/3071542110/oracle/rdbms/lib/libclntsh.dylib.11.1

[Tue Aug 23 12:47:05.771229 2016] [wsgi:error] [pid 1508]   Referenced 
from: /Users/teemu/edge_tools/flask/lib/python2.7/site-packages/cx_Oracle.so

[Tue Aug 23 12:47:05.771231 2016] [wsgi:error] [pid 1508]   Reason: image 
not found

[Tue Aug 23 12:47:46.005206 2016] [mpm_prefork:notice] [pid 1506] AH00169: 
caught SIGTERM, shutting down



-- 
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