Oracle 9.2.0.1 Installation on Centos 4.5

Installation and support for Oracle DB on CentOS.
Post Reply
rexus
Posts: 3
Joined: 2007/05/25 16:19:16
Location: Indonesia
Contact:

Oracle 9.2.0.1 Installation on Centos 4.5

Post by rexus » 2007/06/17 00:41:27

Hi guys,

I'm 90% succeed on installing Oracle 9.2.0.1 on Centos 4.5.
the problem is that I'm having a problem at the end of installation.
I followed the installation from :
http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnRedHat9.php
and
http://www.puschitz.com/InstallingOracle9i.shtml

I made a comparison on two of them.
up to now, I've succed on creating the database and found no errors on it.

the problem I was having during installing is:

"Error in invoking target install of makefile $ORACLE_HOME/ctx/lib/ins_ctx.mk".

and I've followed the "how to" to fix this error:
[code]
When the second error occurs open up a new console, login as the oracle user and execute the following commands:

cd $ORACLE_HOME/install
tail make.log

You will see a line like:

gcc -o ctxhx -L/u01/app/oracle/product/9.2.0.1.0/ctx/lib/ -L/u01/app/oracle/product/9.2.0.1.0/lib/
-L/u01/app/oracle/product/9.2.0.1.0/lib/stubs/ /u01/app/oracle/product/9.2.0.1.0/ctx/lib/ctxhx.o
-L/u01/app/oracle/product/9.2.0.1.0/ctx/lib/ -lm -lsc_ca -lsc_fa -lsc_ex -lsc_da -lsc_ut
-lsc_ch -lsc_fi -lctxhx -lc -Wl,-rpath,/u01/app/oracle/product/9.2.0.1.0/ctx/lib -lnls9
-lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9

Copy this line, add -ldl at the end and run it in the $ORACLE_HOME/bin directory:

cd $ORACLE_HOME/bin
gcc -o ctxhx -L/u01/app/oracle/product/9.2.0.1.0/ctx/lib/ -L/u01/app/oracle/product/9.2.0.1.0/lib/
-L/u01/app/oracle/product/9.2.0.1.0/lib/stubs/ /u01/app/oracle/product/9.2.0.1.0/ctx/lib/ctxhx.o
-L/u01/app/oracle/product/9.2.0.1.0/ctx/lib/ -lm -lsc_ca -lsc_fa -lsc_ex -lsc_da -lsc_ut
-lsc_ch -lsc_fi -lctxhx -lc -Wl,-rpath,/u01/app/oracle/product/9.2.0.1.0/ctx/lib -lnls9
-lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -ldl

Once this is complete click the ignore button on the error dialog and continue with the installation.

During the configuration steps you may be informed that the agent failed to start. Ignore this error as we will fix it in the post installation step.
Post Installation
Open up a console, login as the oracle user and execute these lines:

cd $ORACLE_HOME/network/lib
make -f ins_net_client.mk install

Then edit the $ORACLE_HOME/ctx/lib/ins_ctx.mk file so that lines 13-14 change from:

ctxhx: $(CTXHXOBJ)
$(LINK) $(CTXHXOBJ) $(INSO_LINK)

to:

ctxhx: $(CTXHXOBJ)
$(LINK) -ldl $(CTXHXOBJ) $(INSO_LINK)

The execute the following command:

make -f $ORACLE_HOME/ctx/lib/ins_ctx.mk install
[/code]

the last command didn't work

the last error message is:
[code]
/usr/bin/ld: ctxhx: hidden symbol `stat' in /usr/lib/libc_nonshared.a(stat.oS) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make: *** [ctxhx] Error 1
[/code]

any one might be able to help?
well at least, what is this error telling me?
I think this is somehow related to the agentctl command which I can't execute by running "agentctl start" command

help is needed here :)

thank you,
rexus

Post Reply

Return to “CentOS 4 - Oracle Installation and Support”