Due to a known HP bug (Doc

advertisement
Due to a known HP bug (Doc. id: KBRC00003627), the default HP-UX (64-bit) operating
system installation does not create a few required X library symbolic links. These links
must be created manually before starting Oracle9i installation. To create these links, you
must have superuser privileges, as the links are to be created in the /usr/lib directory.
After enabling superuser privileges, run the following commands to create the required
links:
$ cd /usr/lib
$ ln -s /usr/lib/libX11.3 libX11.sl
$ ln -s /usr/lib/libXIE.2 libXIE.sl
$ ln -s /usr/lib/libXext.3 libXext.sl
$ ln -s /usr/lib/libXhp11.3 libXhp11.sl
$ ln -s /usr/lib/libXi.3 libXi.sl
$ ln -s /usr/lib/libXm.4 libXm.sl
$ ln -s /usr/lib/libXp.2 libXp.sl
$ ln -s /usr/lib/libXt.3 libXt.sl
$ ln -s /usr/lib/libXtst.2 libXtst.sl.
During the install of 9i on HP-UX 11.x, you receive the following error: "Error in invoking
target install of makefile <ORACLE_HOME>/ctx/lib/ins_ctx.mk".
This error is raised when some of the shared libraries are missing in /user/lib. While
installing Oracle 9i on HP, the linker will look for libXm.sl,libXt.sl and libX11.sl when
compiling the binary 'ctxhx'.
Check for the existence of these in /usr/lib and if they do not exist, please make the
necessary symbolic links.
Solution Description
The linker (ld) cannot locate the X11/Motif shared libraries in /usr/lib.
1.
Verify if libXm.sl exists in /usr/lib:
% cd /usr/lib
% ls -al libXm.sl
If this file does not exist, the linker will fail. It should be a symbolic link to another
file, the base X11/Motif library.
2.
Check for base X11/Motif libraries.
% ls -al libXm.*
lrwxr-xr-x 1 root sys 00:14 libXm.1@ -> /usr/lib/Motif1.2/libXm.1
lrwxr-xr-x 1 root sys 00:14 libXm.2@ -> /usr/lib/Motif1.2_R6/libXm.2
lrwxr-xr-x 1 root sys 00:14 libXm.3@ -> /usr/lib/Motif1.2_R6/libXm.3
lrwxr-xr-x 1 root sys 00:14 libXm.4@ -> /usr/lib/Motif2.1/libXm.4
Looking at the above, you see that libXm.* has several incarnations, libXm.1,
libXm.2, etc. These are roughly the same shared library but different versions. If
libXm.sl does not exist, a link must be made pointing to the most current library
version. For example,
as libXm.4 comes from Motif 2.1, we can use it to create the shared library
libXm.sl.
You can also simply use the highest numbered library i.e. libXm.4 is higher then
libXm.3.
3.
Create the shared library as a symbolic link to the base X11/Motif library.
% su root
% cd /usr/lib
% ln -s libXm.4 libXm.sl
OR
% ln -s /usr/lib/Motif2.1/libXm.4 /usr/lib/libXm.sl
Perform steps 1-3 for two other libraries, libXt.sl and libX11.sl.
4.
Return to the installer and click RETRY.
Explanation
The necessary shared library does not exist in /usr/lib. For both Oracle8i and
Oracle9i on HP, the linker will look for libXm.sl, libXt.sl AND libX11.sl when
compiling the binary 'ctxhx'.
So long as the base X11/Motif libraries already exist, then symbolic links can be
used. If the base X11/Motif libraries are missing, the necessary OS packages will
have to be installed first.
Download