ImportError for venv/lib64/python3.9/site-packages/oracledb/base_impl.cpython-39-x86_64-linux-gnu.so
I have a Django app that runs fine under runsslserver, but when I run it under Apache, the traffic gets to the app, but 'import oracledb' fails. I was using cx_Oracle previously (which also threw an ImportError) and switiched to oracledb hoping that would solve the problem.
I tried compiling the mod_wsgi.so (5.0.2), but again I get the same error.
Any suggestions?
This is on RHEL 9, python 3.9
DOH...This turns out to be an SELinux configuraiton issue.
I found that by 'sudo setenforce 0' allows the file to load properly.
Now I just have to get my system administrator to adjust the SELinux config.