Linux Profile.d Environment Variables Don't Work With Cx_oracle In Python
This is a bit of a continuation from my previous question: cx_Oracle does not recognize location of Oracle software installation for installation on Linux. After I was able to get
Solution 1:
Alright, I found out that one of the two environment variables was not exporting properly with the .sh file in /etc/profile.d, and doing $LD_LIBRARY_PATH would give me No such file or directorytclient_12_1, but $ORACLE_HOME would give me /home/user1/instantclient_12_1/: is a directory.
The way I solved this was to split the export statements into two separate shell scripts in profile.d.
Everything works now.
Post a Comment for "Linux Profile.d Environment Variables Don't Work With Cx_oracle In Python"