?? readme
字號:
=================Patch Description-----------------Oracle8i for Linux is shipped with archived objects which were compiled usingglibc-2.1.3. The executable components are then linked at install-time usingthese archives. Due to compatibility limitations in glibc, if the targetsystem for an installation is based on a later version of glibc, then theexecutables produced by the linker will not be valid. As a workaround tothis limitation, we have created a set of stub libraries which are used atlink-time only to mimic the contents of glibc-2.1.3 shared objects. Notethat these stub libraries do not contain valid executable code, and therefore*must NOT* be included in the library path searched by the dynamic loader(i.e., do not include $ORACLE_HOME/lib/stubs in LD_LIBRARY_PATH).===========================================Instructions for New Oracle8i Installations-------------------------------------------Install Oracle8i as usual, but choose not to create a database during install.Once installation is complete, follow the procedure described in thesection "Instructions for Existing Installations" below. It will thenbe possible to create a database.================================================Instructions for Existing Oracle8i Installations------------------------------------------------Place the tar file glibc-2.1.3-stubs.tar.gz in $ORACLE_HOME. Make sureORACLE_HOME is set in your environment. Then carry out the following steps: cd $ORACLE_HOME tar xvfz glibc-2.1.3-stubs.tar.gz ./setup_stubs.shYou should now be able to use Oracle as usual.================Warning----------------Make sure the directory $ORACLE_HOME/lib is not listed in your/etc/ld.so.conf. The system could potentially become unstable after applyingthis patch in that case. If $ORACLE_HOME/lib is currently listed in/etc/ld.so.conf, remove it and run ldconfig before applying this patch. ================================Notes for Application Developers--------------------------------If your application does not require linking at install sites, then noadditional steps are required for your application to be compatible withglibc or the Oracle8i client shared library after the installation of thispatch. This is true regardless of whether your application was compiledusing glibc-2.1.3 or a later version.If your application is compiled using glibc-2.1.3 and requires linking atinstall-time using the Oracle8i client shared library, then you may alsoneed to link your application using the stub libraries provided in thispatch. For example, an application which might typically be linked asfollows on a glibc-2.1.3 based system: gcc -o app app.o -L$ORACLE_HOME/lib -lclntshshould now be linked as follows on systems with a newer version of glibc,in order to ensure compatibility: gcc -o app app.o -L$ORACLE_HOME/lib -L$ORACLE_HOME/lib/stubs -lclntshIf your application is compiled using a version of glibc later than 2.1.3and requires linking at install-time using the Oracle8i client sharedlibrary, then you must NOT link your application with the stub librariesprovided in this patch. Doing so may either cause the link to fail or theresulting executables to be invalid.Note that the stub libraries provided in this patch only cover the sharedobjects that make up glibc. If your application must be linked at install-time with other shared objects which were built to have dependencies on thelocally installed version of glibc (e.g., X11), then your application mustbe compiled using the same version of glibc that was used by those othercomponents. For example, on a system with glibc-2.2, linking yourapplication with libX11.so will fail if you attempt to use the glibc-2.1.3stub libraries, since libX11.so on that system will have been compiled and linked using glibc-2.2.================Revision History----------------06-FEB-2001: added ldconfig warning to README08-FEB-2001: added libnsl.so stub needed for OPS cm/nm28-FEB-2001: move stub libraries from $OH/lib to $OH/lib/stubs01-MAR-2001: added stubs for all remaining glibc libraries14-MAR-2001: added setup_stubs.sh to simplify installation16-MAR-2001: added patch description and notes for application developers
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -