更新时间:2021-08-03 21:48:57
在其他Oracle库之前,编写一个LD_LIBRARY_PATH中列出了12.2 Oracle Client库的shell脚本,然后调用Python。
Write a shell script that lists the 12.2 Oracle Client library in LD_LIBRARY_PATH before other Oracle libraries, and then invokes Python.
#!/bin/sh
export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2
python "$@"