在Redhat 7.2上安装Oracle 9i失败

在Redhat 7.2上安装Oracle 9i失败

虽然参考了Terran兄的安装指南,但安装时仍然出错。
想象是,所有文件拷贝完成后,在建client动态库时出错,下面是log中的错误内容:

/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/export/oracle/product/9.0.1
/export/oracle/product/9.0.1/bin/genclntsh
/export/oracle/product/9.0.1/lib/libgeneric9.a(skgfr.o): In function `skgfrpini':
skgfr.o(.text+0x125): undefined reference to `__cmpdi2'
/lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_dst_substitute@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_relocate_object@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_clktck@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_catch_error@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_platformlen@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol_skip@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_mcount@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_dst_count@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_initial_searchlist@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_start_profile@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_lookup_symbol@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_2.2'
/usr/lib/libpthread.so: undefined reference to `_dl_cpuclock_offset'
/lib/libc.so.6: undefined reference to `_dl_loaded@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_origin_path@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_check_map_versions@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_map_object@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_main_searchlist@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_load_lock@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_profile@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_debug_state@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_init_all_dirs@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_r_debug@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_unload_cache@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_signal_error@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_init@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_all_dirs@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_map_object_deps@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_nloaded@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_profile_map@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_profile_output@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_pagesize@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_lookup_symbol_skip@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_fpu_control@GLIBC_2.1'
/usr/lib/libdl.so: undefined reference to `_dl_catch_error'
/lib/libc.so.6: undefined reference to `_dl_global_scope_alloc@GLIBC_2.1'
Created /export/oracle/product/9.0.1/lib/libclntst9.a

我用的是glibc-2.2.4
请高手指教      
    是否是完全安装redhat7.2?如果不是,要确保binutils-2.10.0.18-1.i386.rpm,compat-egcs-6.2-1.1.2.16.i386.rpm,compat-glibc-6.2-2.1.3.2.i386.rpm,compat-libs-6.2-3.i386.rpm装好(7.2自带).
          
7.2虽然不是完全安装,但你提到的库都已经手工安装了,只是binutils的版本更高一些,是binutils-2.11.90.0.8-9,这样有问题吗?
      
对,就是binutils-2.11.90.0.8-9的问题,版本高了不行      
不错,确实是binutils-2.11.90.0.8-9搞的鬼,真是#$@#!%^%#$!
这个破东东害的我安装9i已经有n遍了。
谢谢老兄的帮助!      
   呵呵,继续努力.      
哈哈,我说吧,binutils-2.10.0.18-1.i386.rpm是必须的!!!!
好使吗?我还没在7.2下使过呢,我现在改用P4了,有出了一堆新问题,靠!!!      
[QUOTE]原文由 Terran 发表
[B]哈哈,我说吧,binutils-2.10.0.18-1.i386.rpm是必须的!!!!
好使吗?我还没在7.2下使过呢,我现在改用P4了,有出了一堆新问题,靠!!! [/B][/QUOTE]

还不错,有些命令和8i稍有不同,最令我开心的是,interMedia总算在Linux上好事了。
此外,如果只是起DB的话,需要的内存也不是很大,基本和8i差不多.