请教:
我在 Installing Oracle 8.1.6 on Red Hat Linux 7.3 时
link 报错:
ins_sqlplus.mk
察看 $ORACLE_HOME/install/make.log:
/usr/i386-glibc-2.1-linux/i386-glibc21-linux/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
qlpluake: *** [sqlplus] Error 1
之后在 $ORACLE_HOME/lib 下查不到 libclntsh
于是用 genclntsh 准备生成 libclntsh
[oracle@Linux oracle]$ genclntsh
报错
ld: unrecognised emulation mode: elf_i386_glibc21
Supported emulations: elf_i386 i386linux
[oracle@Linux oracle]$
oracle 用户的 .bash_profile 是:
/usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
export LD_ASSUME_KERNEL=2.4
export LDEMULATION=elf_i386_glibc21
export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/
DISPLAY=:0.0 ; export DISPLAY
ORACLE_BASE=/oracle ; export ORACLE_BASE
ORACLE_HOME=/oracle/app/oracle/product/8.1.6 ; export ORACLE_HOME
ORACLE_SID=ora816 ; export ORACLE_SID
NLS_LANG=AMERICAN_AMERICA.ZHS16CGB231280 ; export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data ; export ORA_NLS33
ORACLE_OWNER=oracle ; export ORACLE_OWNER
TMP=$ORACLE_BASE/tmp ; export TMP
EDITOR=vi ; export EDITOR
ORACLE_TERM=vt100 ; export ORACLE_TERM
NLS_DATE_FORMAT=YYYY-MM-DD ; export NLS_DATE_FORMAT
TNS_ADMIN=$ORACLE_HOME/network/admin ; export TNS_ADMIN
CLASSPATH=$ORACLE_HOME/jdbc/lib/calsses111.zip ; export CLASSPATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
ORACLE_HOME/precomp/lib:/lib:/usr/lib
export LD_LIBRARY_PATH
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local:/usr/local/bin:/usr/local/sb
in
PATH=$PATH:/usr/local/java/bin:/usr/bin/X11:/usr/X11R6/bin
ORACLE_HOME/bin
export PATH
umask 022
#export LC_ALL=zh_CN.GB2312
#export LC_CTYPE=zh_CN.GB2312
#export LANG=zh_CN
export LC_ALL=c
export LANG=c
请高手指点迷津!!! 谢谢!!!