Subscribe to RSS Subscribe to Comments Blog of Roy Chan

Blog of Roy Chan

Oracle 9i and RedHat 7.1

Damn Oracle 9i and Redhat 7.1, spent me a whole week to install it. Ok.. here is some note:

  1. Install the package compat-glibc in disk2 of 7.1
  2. Follow the procdure of Oracle install guide to create account oracle and set those env variable.
  3. enter the account oracle and “. /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh’
  4. run the ./runInstaller of oracle to install 9i
  5. It will complain you for fail to make sth (my case is PL/SQL)
  6. It’s because it fail to compile libclntsh.so.90 and libclntsh9.a. And all remain tools need it. You can check your install/make.log to confirm it…
  7. You will find that the linker fail to find the symbol __cmpdi2 when it compile libclntsh. This creature is defined in libgcc.a
  8. edit file bin/genclntsh, add “-lgcc” on the line SYSLIBS and “-L/usr/i386-glibc21-linux/lib/gcc-lib/i386-redhat-linux/2.9″ on the line LD
  9. type “bin/genclntsh”, if success, you can see the libclntsh* under directory lib
  10. go back to X and press the “retry” button
  • http://sources.redhat.com/ml/binutils/2001-06/msg00753.html
  • http://www.orafaq.com/msgboard/unix/messages/445.htm
  • http://lists.phillylinux.org/mailman/pubarchive/plug/2001-May/008064.html

Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Based on Fluidity© 1998-2007 Roy Hiu-yeung Chan