日期:2014-05-17  浏览次数:20762 次

在LINUX下安装oracle9I提示错误 ,麻烦那位兄弟给指导一下
下面是安装时候出现的错误提示:
Linking   Oracle   Net   Requirde   Support   Files   9.2.0.4.0
1.Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/network/lib/ins_net_client.mk

2.Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/plsql/lib/ins_plsql.mk
3.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/precomp/lib/ins_precomp.mk

4.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/network/lib/ins_net_oemagent.mk

5.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/network/lib/ins_nau.mk
6.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/rdbms/lib/in_rdbms.mk
7.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/ctx/lib/ins_ctx.mk
8.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/ctx/lib/ins_ldap.mk

9.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/network/lib/ins_net_server.mk


10.   Linking   Oracle9i   Database   9.2.0.4.0
Error   in   invoking   target   ntcontab.o   of   makefile
/oracode/oracle/product/9.2.0/otrace/lib/ins_otrace.mk

到configuration   Tools界面
oracle   net   configuration   assistant   错误:
done   parsing   command   line   arguments
Error   loading   native   library   libnjni9.so.
libclntsh.so.9.0:cannot   open   shared   object   file   :No   such   file   or   directory

(libnjni9.so.)
oracle   Data   configuration     assistant   错误:
Error   loading   native   library   libnjni9.so.
libclntsh.so.9.0:cannot   open   shared   object   file   :No   such   file   or   directory
(libnjni9.so.)
那位兄弟指导一下,十分感谢???

------解决方案--------------------
libclntsh.so.9.0 这个库是oracle 9i :OCI客户端运行时库,如果程序使用了oci读写数据库必定会装载这个库,它一般在/ <oracle安装路径> /product/9.x.x/lib,除非你没有安装oracle客户端的话(在安装时),就会出现找不到这个库这个问题。


用find找一下看看,有没有安装.没有安装就装一个.如果装了把路径加上LD_LIBRARY_PATH