I have created a simple application using django. I have deployed my application on apache in MacOS. I am using cx_Oracle version 8.2.1. On doing a http request on localhost/emp i am getting
cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: “dlopen(/Users/apple/Downloads/instantclient_19_8/libclntsh.dylib, 0x0001): tried: ‘/Users/apple/Downloads/instantclient_19_8/libclntsh.dylib’ (no such file)”. See cx_Oracle 8 Installation — cx_Oracle 8.3.0 documentation for help, referer: http://127.0.0.1:8001/emp
in my error logs. But the application is ruuning fine when i am using dev server. I have used DYLD_LIB_PATH for setting instantclient. How to reslove this issue for my apache deployment.