运行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.