libclntsh.so.11.1: cannot open shared object file.
Posted
by zhangzhong
on Stack Overflow
See other posts from Stack Overflow
or by zhangzhong
Published on 2010-04-25T13:08:19Z
Indexed on
2010/04/25
13:13 UTC
Read the original article
Hit count: 455
I want to schedule a task on linux by icrontab, and the task is written in python and have to import cx_Oracle module, so I export ORACLE_HOME and LD_LIBRARY_PATH in .bash_profile, but it raise the error:
libclntsh.so.11.1: cannot open shared object file.
Since it is ok to run the task by issue the command in shell like
python a.py # ok
I change the task in icrontab into a shell script which invoke my python script, but the exception recurred?
# the shell script scheduled in icrontab
#! bash
python a.py
Could you help how to do with it?
© Stack Overflow or respective owner