我想连接数据库使用Unix shell脚本,但我收到错误消息 以下有错误消息
/opt/oracle/product/10.2.0.2/bin/sqlplus:符号查找错误: /opt/oracle/product/10.2.0.2/lib/libnnz10.so:undefined symbol: nltrc_entry
ORACLE_HOME="/opt/oracle/product/10.2.0.2"; export ORACLE_HOME
ORACLE_SID="$schema"; export ORACLE_SID
value=`/opt/oracle/product/10.2.0.2/bin/sqlplus -S USER/USER99@$DB_HOSTNAME << EOF
SET LINESIZE 300
SET PAGESIZE 300
SET HEADING OFF
SELECT * FROM table;
EOF`