Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Oracle Linking

Re: Oracle Linking

From: Tim Gorman <Tim_at_SageLogix.com>
Date: Sun, 18 Aug 2002 11:03:18 -0800
Message-ID: <F001.004B8750.20020818110318@fatcity.com>


The error message in the "install.log" or "make.log" files should narrow your choices down, but in general...

Underneath "$ORACLE_HOME" there are several ".mk" files, which are scripts for the venerable UNIX "make" command. To find them, you can run the UNIX "find" command as follows:

    $ find $ORACLE_HOME -name "*.mk" -print

Within each product subdirectory under "$ORACLE_HOME" where a "lib" subdirectory exists, there will usually be two ".mk" files: one prefixed with "env_" and another prefixed with "ins_". For example, under the "$ORACLE_HOME/rdbms" subdirectory, you'll find a "lib" subdirectory in which resides an "env_rdbms.mk" file and an "ins_rdbms.mk" file. The "ins_*.mk" script is the one you're interested in; it references "make" script settings in the "env_*.mk" script, so in the end you're using both scripts anyway, but the "ins_*.mk" script is the "top-level" one...

Within a "make" script there are "targets" defined, which describe how to compile (if necessary! not always necessary) and link an executable. Generally, Oracle defines an overall target called "install" to compile/link/install all executed defined within, or it defines targets for each specific executable (i.e. target "ioracle" performs compiles, links, and file-movement for installation of the "oracle executable with the "ins_rdbms.mk" script, etc).

To call make from the UNIX command-line to compile, link, and install a new "oracle" executable, you'd run the following commands:

    $ cd $ORACLE_HOME/rdbms/lib
    $ make -f ins_rdbms.mk ioracle

If you were just going to "shotgun" both of the executables defined as part of the "network" product for the server-side, you'd run something like:

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

...and "make" would compile/link/install the "tnslsnr" and the "lsnrctl" executables...

The error messages you see from the "link phase" of Oracle software installation in the "install.log" or "make.log" scripts come from these "make -f ..." commands. Check the log files to find out exactly what failed -- using the "shotgun" method can take a lot of time... :-)

Hope this helps...

> There is apparently two stages to the Oracle installation on Unix. A file
> copying installation where all the required binaries are copied from cdrom
to
> hard disk and a linking install where the binary/object files are linked.
>
> If the first stage succeeds but the second stage does not. How do I start
the
> linking install without having to go through the first stage copying
install
> again?
>
> Thanks.
>
> ltiu
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: ltiu
> INET: ltiu_at_alumni.sfu.ca
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tim Gorman
  INET: Tim_at_SageLogix.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Aug 18 2002 - 14:03:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US