> I have a similar question (importing cx_Oracle, but not related to
> cron). I would like to use solution #2 below and it does not work. If
> I set LD_LIBRARY_PATH before running python, it works. If I try to set
> it via os.environ, it does not work.
>
> I have tried this in an interactive Py
I have a similar question (importing cx_Oracle, but not related to
cron). I would like to use solution #2 below and it does not work. If
I set LD_LIBRARY_PATH before running python, it works. If I try to set
it via os.environ, it does not work.
I have tried this in an interactive Python shell.
a crontab job to run the application, It logs this
> error:
>
> Traceback (most recent call last):
> File "/home/nsm1/NSM1/NSM1.py", line 5, in ?
> import cx_Oracle
> ImportError: libclntsh.so.10.1: cannot open shared object file:
> Permission denied
...
when I schedule a crontab job to run the application, It logs this
>error:
>
>Traceback (most recent call last):
> File "/home/nsm1/NSM1/NSM1.py", line 5, in ?
>import cx_Oracle
>ImportError: libclntsh.so.10.1: cannot open shared object file:
>Permission denied
&
logs this
error:
Traceback (most recent call last):
File "/home/nsm1/NSM1/NSM1.py", line 5, in ?
import cx_Oracle
ImportError: libclntsh.so.10.1: cannot open shared object file:
Permission denied
How can I fix the problem?
Any help would be appreciated,
Max
BTW:
I have the