proc是报libclntsh.so错

proc是报libclntsh.so错

大家好:
  我在redhat linux6.0 下安装了oracle8.1.6,要运行嵌C程序. pro*c程序名为:test02.pc.
  
  运行 proc config=pcscfg.cfg iname=test02.pc oname=test02.c 正常,
  但运行 make -f demo_proc.mk OBJS="test02.o" EXE="test02" build 是报错.
  错误如下:
cc  -O3  -DPRECOMP  -I. -I/home/client/oracle8i/precomp/public -I/home/client/oracle8i/rdbms/public -I/home/client/oracle8i/rdbms/demo -I/home/client/oracle8i/plsql/public -I/home/client/oracle8i/network/public -DLINUX -D_GNU_SOURCE -D_SVID_GETTOD -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DREENTRANT -DNS_THREADS    -c test02.c
cc -o test02 test02.o -L/home/client/oracle8i/lib/ -lclntsh   `cat /home/client/oracle8i/lib/sysliblist` -ldl -lm  
/usr/bin/ld: warning: libwtc8.so, needed by /home/client/oracle8i/lib//libclntsh.so, not found (try using --rpath)
/home/client/oracle8i/lib//libclntsh.so: undefined reference to `wtcstu'
/home/client/oracle8i/lib//libclntsh.so: undefined reference to `wtclkm'
/home/client/oracle8i/lib//libclntsh.so: undefined reference to `wtcsrin'
/home/client/oracle8i/lib//libclntsh.so: undefined reference to `wtcMerr'
/home/client/oracle8i/lib//libclntsh.so: undefined reference to `wtcsrin0'
/home/client/oracle8i/lib//libclntsh.so: undefined reference to `wtcLerr'
collect2: ld returned 1 exit status
make: *** [build] Error 1

我的环境变量配置如下:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATHHOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""

export USERNAME BASH_ENV

PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PATH=$PATH:/usr/X11R6/bin:/home/client/oracle8i/bin
JAVA_HOME=/usr/java/jre
ORACLE_OWNER=client
ORACLE_HOME=/home/client/oracle8i
ORACLE_BASE=$ORACLE_HOME
LD_LIBRARAY_PATH=$ORACLE_HOME/libLD_LIBRARAY_PATH
ORACLE_SID=data
ORACLE_TERM=386
DISPLAY=:0.0
ORA_NLS=$ORACLE_HOME/ocommon/nls/admin/data
NLS_LANG=american_america.zhs16cgb231280
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip
LD_ASSUME_KERNEL=2.2.5
umask 022
export JAVA_HOME
export ORACLE_OWNER ORACLE_HOME ORACLE_BASE LD_LIBRARAY_PATH ORACLE_SID
export ORACLE_TERM DISPLAY ORA_NLS NLS_LANG CLASSPATH LD_ASSUME_KERNEL PATH

我不知道是什么原因,谁能帮帮我?谢谢!
                                  zhangtenyu@sohu.com
                                 
      
查找一下是否有libclntsh.so这个文件,如果没有,从其他系统中或安装盘中拷一个过来,如果有,检查一下是不是和其他好的系统中一样(大小)。