[Zope-Checkins] CVS: Products/DCOracle2 - README-Oracle+RedHat9:1.1

Matthew T. Kromer matt@zope.com
Wed, 21 May 2003 13:08:03 -0400


Update of /cvs-repository/Products/DCOracle2
In directory cvs.zope.org:/tmp/cvs-serv26965

Added Files:
	README-Oracle+RedHat9 
Log Message:
Add RedHat 9 instructions


=== Added File Products/DCOracle2/README-Oracle+RedHat9 ===
If you run into a problem saying __cmpdi2 not found from the Oracle libclntsh.so
file, these instructions are for you:

See the google search:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=oprpfvp3errgtvn8%40localhost&rnum=1&prev=/groups%3Fq%3D__cmpdi2%2Bredhat%2B9%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3Doprpfvp3errgtvn8%2540localhost%26rnum%3D1

Basically, Oracle isn't set up to run on RedHat 9 systems.

You CAN re-link libclntsh.so to fix it.  This WILL involve some risk on your
part, and I don't suggest running Oracle 9i on Redhat 8+ systems unless Oracle
supports it.

The gist of the instructions are:

	1)	Find $ORACLE_HOME/bin/genclntsh
	2)	Change the SYSLIBS define to include
			-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -lgcc
	3) 	run genclntsh

These instructions worked for me, but I do NOT advise you run a production
RedHat 9 system with Oracle 8i or 9i -- run the RedHat version that Oracle
wants you to have.