Chinaunix

标题: SLES9升级oracle客户端8.1.7.4补丁报ins_net_client.mk等错误,已经打好了相关补丁 [打印本页]

作者: kirbystar    时间: 2006-03-22 14:40
标题: SLES9升级oracle客户端8.1.7.4补丁报ins_net_client.mk等错误,已经打好了相关补丁
操作系统为:SLES9,数据库客户端为oracle8.1.7.0
因为工程需要,客户端必须要升到8.1.7.4
从metalink上下载lnx32_8174_patchset.tar,启动runInstaller
选择products.jar,因为从来没升级过客户端,升的时候选择了全部组件
进度条快结束时,提示如下错误
Error in invoking target ntcontab.o of makefile
/oracle/product/8.1.7/network/lib/ins_net_client.mk
忽略以后陆续报ins_sqlplus.mk、ins_nau.mk等错误
全部忽略以后,sqlplus不能运行,应该是补丁没有打上

已经详细参考以下链接的帖子
http://www.itpub.net/168534.html

运行rpm -q gcc cpp compat-libstdc++ glibc-devel kernel-headers binutils
结果如下:
gcc-3.3.3-43.24
cpp-3.3.3-43.24
package compat-libstdc++ is not installed
glibc-devel-2.3.3-98.28
package kernel-headers is not installed
binutils-2.15.90.0.1.1-32.5

已经下载了oracle的补丁:glibc-2.1.3-stubs.tar.gz
运行setup_stubs.sh的时机也选了好几次,报错前报错后都试过
报以下错误
Setting up patch files...done.
Patching makefiles as necessary:
  checking file '/home/oracle/8.1.7/rdbms/demo/demo_rdbms.mk'...OK.
  checking file '/home/oracle/8.1.7/rdbms/demo/ociucb.mk'...OK.
  checking file '/home/oracle/8.1.7/rdbms/lib/ins_rdbms.mk'...OK.
  checking file '/home/oracle/8.1.7/rdbms/lib/env_rdbms.mk'...OK.
  checking file '/home/oracle/8.1.7/network/lib/ins_net_client.mk'...OK.
  checking file '/home/oracle/8.1.7/network/lib/env_network.mk'...OK.
  checking file '/home/oracle/8.1.7/network/lib/ins_cman.mk'...OK.
  checking file '/home/oracle/8.1.7/network/lib/ins_names.mk'...OK.
  checking file '/home/oracle/8.1.7/network/lib/ins_nau.mk'...OK.
  checking file '/home/oracle/8.1.7/precomp/lib/ins_precomp.mk'...OK.
  checking file '/home/oracle/8.1.7/precomp/lib/env_precomp.mk'...OK.
  checking file '/home/oracle/8.1.7/sqlplus/lib/env_sqlplus.mk'...OK.
  checking file '/home/oracle/8.1.7/sqlplus/lib/ins_sqlplus.mk'...OK.
Rebuilding client shared library...ld: skipping incompatible /home/oracle/8.1.7/lib/libsql8.a when searching for -lsql8
ld: cannot find -lsql8
cat: /tmp/clntst8.29215/*.nm: No such file or directory
sort: open failed: /tmp/clntst8.29215/*.objs: No such file or directory
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
       ar -M [<mri-script]
commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f]  - replace existing or insert new file(s) into the archive
  t            - display contents of archive
  x[o]         - extract file(s) from the archive
command specific modifiers:
  [a]          - put file(s) after [member-name]
            - put file(s) before [member-name] (same as )
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
            - only replace files that are newer than current archive contents
generic modifiers:
  [c]          - do not warn if the library had to be created
            - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [v]          - be verbose
  [V]          - display the version number
emulation options:
  No emulation specific options
ar: supported targets: elf64-x86-64 elf32-i386 a.out-i386-linux efi-app-ia32 elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex binary ihex
ar: creating /home/oracle/8.1.7/lib/libclntst8.a
done.
Relinking executables:
  running 'ins_rdbms.mk'...done.
  running 'ins_net_client.mk'...done.
  running 'ins_cman.mk'...done.
  running 'ins_names.mk'...done.
  running 'ins_nau.mk'...done.
  running 'ins_precomp.mk'...done.
  running 'ins_sqlplus.mk'...done.

折腾了一天,实在不知道该怎么办了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2