Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

9.2.0 install

Go to solution
Frequent Advisor

9.2.0 install

Hello, I'm trying to install 9.2.0 on hp-ux 11.0 64 bit. I had the os admin applly all the patches. I'm now getting the following linking error. Any suggestions?

Error in invoking target install of makefile

Steven E. Protter
Exalted Contributor

Re: 9.2.0 install

This can be due to lack of disk space.

There is a file called install.log that will have more detail on the problem. Read that and post the error message.

Run a bdf and see if I'm right or off the mark.

Note: There is a serious bug in 9.2.0 and you might want to start over with That includes a bug fix for object locking. If they didn't bother to release an updated product plan to install that upgrade prior to doing any real work on the Database.

Steven E Protter
Owner of ISN Corporation
Indira Aramandla
Honored Contributor

Re: 9.2.0 install

Hi Brian,

This is what Metalink says regarding the error that you are experiencing.

During the install of 8.1.x/9.x on HP-UX 11.x, you receive the following error:

"Error in invoking target install of makefile /ctx/lib/"

You then check the $ORACLE_HOME/install/make.log and find errors similiar to the following:
cc -Wl,+s -Wl,+n -L/u01/app/oracle/product/9.0.1_64/ctx/lib [cutting line for brevity]
/usr/ccs/bin/ld: Can't find library for -lXm
*** Error exit code 1
=========================================================== This error is raised when some of the shared libraries are missing in /user/lib. While installing Oracle 8i/9i on HP, the linker will look for, and 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 exists in /usr/lib:

% cd /usr/lib
% ls -al

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 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

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


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

Perform steps 1-3 for two other libraries, and

4) Return to the installer and click RETRY.


The necessary shared library does not exist in /usr/lib. For both Oracle8i and Oracle9i on HP, the linker will look for, AND 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.

I hope this helps


Never give up, Keep Trying
Honored Contributor

Re: 9.2.0 install

This sort of error comes when u don't have ANSI-C on your system. ANSI-C software is a must to install Oracle on HP-UX system. It is a priced product.Check for it.

T G Manikandan
Honored Contributor

Re: 9.2.0 install

There are lot of reasons for these messages.

Please send the install log file so that this can be solved.

Please ensure that your pre-requirements (patches,software)tasks are done properly.

Frequent Advisor

Re: 9.2.0 install

thanks indira that linking issue was the problem. After I created the links I was able to install and patch without any problems. Thanks
Nicolas Vacher
Occasional Visitor

Re: 9.2.0 install

I had the same issue, I solced thanks to Indira's explanations.
But still I have a link error:

ld: Unsatisfied code symbol "gethrtime" in file /u01/app/oracle/product/9.2.0/lib/libgeneric9.a[kgl2.o]
1 errors.
*** Error exit code 1


Can anyone help me?
Thnaks in advance.
Indira Aramandla
Honored Contributor

Re: 9.2.0 install

Hi Vacher,

I assume that, you are installing Oracle RDBMS Version: 9i on HP-UX 11.0 64-bit / HP-UX 11i

During the installation when you receive this error
ld: Unsatisfied symbol "gethrtime" in file /u01/app/oracle/product/901/lib//libpls9.a[pbp.o]
1 errors.
*** Error exit code 1

in $ORACLE_HOME/install/make.log is:

Follow these steps:

1. Open a new console window on the host as the installation user.
2. Set up the Oracle environment (i.e. ORACLE_HOME).
3. Make a backup of the $ORACLE_HOME/genclntsh script.
4. Remove the ${LD_SELF_CONTAINED} flag from the ld command in the 'Create Library' section.
5. Run the genclntsh script.
6. Click on 'Retry' in the Universal Installer

Then the installation will now proceed.

If you still encounter the error message after the above

ld: Unsatisfied symbol "gethrtime" in file /u01/app/oracle/product/901/lib//libldapclnt9.a[sgsluu.o]
1 errors.
*** Error exit code 1

The gethrtime(void) function is a new function in libc and is not present in older versions of libraries, so this issue did not appear in prior versions. The referenced HP patches resolve the linking errors.

HP/UX patches PHCO_23770, PHCO_23092 must be applied. These are if for HP-UX 11.0

If you are using HP-UX 11i then the patches are

I hope this helps.

Indira A
Never give up, Keep Trying
Nicolas Vacher
Occasional Visitor

Re: 9.2.0 install

Now, I know what 'guru' means! :)

Juan-Carlos Garcia
Occasional Visitor

Re: 9.2.0 install

Many thanks Indira. Another person who benefit from your expertise.

Honored Contributor

Re: 9.2.0 install

Thanks so much Indira.

Ingo Duschl
Frequent Advisor

Re: 9.2.0 install

also helped..
....but doing the manually it returned:
..."mv -f /u00/bin/ctxsrv /u00/bin/ctxsrvO
mv ctxsrv /u00/bin/ctxsrv
chmod 751 /u00/bin/ctxsrv
Too many command lines for `ctxhx'
Too many command lines for `ctxhx'
cc -Wl,+s -Wl,+n -L/u00/ctx/lib/"....

it finished, but what is the:
Too many command lines for `ctxhx'

any idea?!?!
Fred Ruffet
Honored Contributor

Re: 9.2.0 install

In ORACLE_BASE/oraInventory/logs you should have log matching the time you ran installation. Check for a more complete message in it. Post it here.

Also, have you created links to libXm files ?



"Reality is just a point of view." (P. K. D.)