概述
安装的oracle_client
oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm
oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm
将sqlldr文件复制到/usr/lib/oracle/11.2/client64/bin
将rdbms和nls文件夹复制到/usr/lib/oracle/11.2/client64/
设置.bash_profileexport LANG=en_US.UTF-8 export ORACLE_HOME=/usr/lib/oracle/11.2/client64 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export NLS_LANG=KOREAN_KOREA.KO16KSC5601 export TNS_ADMIN=$ORACLE_HOME/network/admin export ORA_NLS10=$ORACLE_HOME/nls/data export PATH=$ORACLE_HOME/bin:$PATH
但是,执行ldd -r sqlldr跟随下一行
linux-vdso.so.1 => (0x00007fff03fff000)
libclntsh.so.11.1 => /usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1 (0x00007f6f036bb000)
libnnz11.so => /usr/lib/oracle/11.2/client64/lib/libnnz11.so (0x00007f6f032ed000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000037fae00000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000037fa600000)
libm.so.6 => /lib64/libm.so.6 (0x00000037fb600000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00000037fce00000)
libc.so.6 => /lib64/libc.so.6 (0x00000037faa00000)
libaio.so.1 => /lib64/libaio.so.1 (0x00007f6f030e0000)
/lib64/ld-linux-x86-64.so.2 (0x00000037fa200000)
undefined symbol: sldext (./sqlldr)
undefined symbol: sldextf (./sqlldr)
.bash_profile
export LANG=en_US.UTF-8
export ORACLE_HOME=/usr/lib/oracle/11.2/client64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS10=$ORACLE_HOME/nls/data
export PATH=$ORACLE_HOME/bin:$PATH
如何删除undefined symbol ?
最后
以上就是稳重大象为你收集整理的oracle的sqlldr安装报错,oracle - oracle sqlldr->未定义符号:sldext - 堆栈内存溢出的全部内容,希望文章能够帮你解决oracle的sqlldr安装报错,oracle - oracle sqlldr->未定义符号:sldext - 堆栈内存溢出所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复