Operating System - HP-UX
1753511 Members
5022 Online
108795 Solutions
New Discussion юеВ

HP-UX 11.00 / Ora9i, Error Linking ins_ctx.mk

 
SOLVED
Go to solution
Krenzer
Advisor

HP-UX 11.00 / Ora9i, Error Linking ins_ctx.mk

I receive at 90% the following error:

/usr/ccs/bin/ld: Can't find library: "Xm"
*** Error exit code 1

Stop

I install all patches and increase the maxdsiz, so i could fix the other linking problems. I trying different PATH variablen, but that didn't fix the problem. Can anyone help me ?

Thanks
4 REPLIES 4
Yogeeraj_1
Honored Contributor
Solution

Re: HP-UX 11.00 / Ora9i, Error Linking ins_ctx.mk

hi,
there is a known issue about that. (in fact i am preparing for an installation and have already anticipated this problem ;) )

See the quote from Metalink (just in case you don't access to it):
============================================================

Doc ID: Note:180445.1
Subject: /usr/ccs/bin/ld: Can't find library: "Xm" for linking 64bit executables
Type: PROBLEM
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 18-MAR-2002
Last Revision Date: 08-MAY-2002


Problem Description
-------------------

You are trying to install a 64bit Oracle product on a 64bit HP
system. During the linking stage, you are getting numerous "error
invoking target 'install' of makefile " errors.

The $ORACLE_HOME/install/make.log file reveals these types of errors:

...
/usr/ccs/bin/ld: Can't find library: "Xm"
*** Error exit code 1

Stop.


HP Document KBRC00003627 states that you must create the following
three soft links:

ln -s /usr/lib/Motif2.1/libXm.4 /usr/lib/Motif2.1/libXm.sl
ln -s /usr/lib/libXt.3 /usr/lib/libXt.sl
ln -s /usr/lib/libX11.3 /usr/lib/libX11.sl

You check /usr/lib and the links are there.



Solution Description
--------------------

You need to create the 64bit equivalents of these same symbolic links:

ln -s /usr/lib/Motif2.1/pa20_64/libXm.4 /usr/lib/Motif2.1/pa20_64/libXm.sl
ln -s /usr/lib/pa20_64/libXt.3 /usr/lib/pa20_64/libXt.sl
ln -s /usr/lib/pa20_64/libX11.3 /usr/lib/pa20_64/libX11.sl





Explanation
-----------
On 64bit HP-UX 11.0, required X libraries are located in a new directory
location.

References
----------

[NOTE:169177.1] /usr/ccs/bin/ld: Can't find library: "Xm"


Additional Search Words
-----------------------
motif OUI runInstaller
.



Hope this helps!
Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Krenzer
Advisor

Re: HP-UX 11.00 / Ora9i, Error Linking ins_ctx.mk

Hi,

it brings me to the point. But i must set an other link:

ln -s /usr/lib/Motif2.1/libXm.4 /usr/lib/libXm.sl

Then it works. Otherwise the install routine don't find the library. Mysteriously, i must set the link to the 32 Bit lib. If i set following link:

ln -s /usr/lib/Motif2.1/pa20_64/libXm.4 /usr/lib/libXm.sl

i receive the error, that the library aren't a 32 Bit library. But it is a 64 Bit machine. By the way, it runs now.

Thank you very much for the tip !!!
Yogeeraj_1
Honored Contributor

Re: HP-UX 11.00 / Ora9i, Error Linking ins_ctx.mk

hello,

thank you for the feedback.

I will bear this in mind for my forthcoming installation.

Hope your systems run smoothly.

Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
telco_1
Advisor

Re: HP-UX 11.00 / Ora9i, Error Linking ins_ctx.mk

HI,
I tried this out but i am still facing the same error !!!