dbaXchange.com


Database Resources
- RDBMS Server
-
Database Administration
-
Performance Tuning
-
Backup and Recovery
-
Oracle Utilities

-
SQL and PLSQL
-
Network Administration
-
Client Applications
-
Miscellaneous Stuff

Oracle's technology Sites

http://technet.oracle.com

http://metalink.oracle.com

http://asktom.oracle.com/

http://www.oramag.com


Search this site or the web


Site search Web search powered by FreeFind



 

Category     : Database Resources -> RDBMS Server

DB Version  : Oracle 8i, 9i

OS Details    : Sun Solaris9

 

If you've been in a situation where your Unix admin has done a machine re-org and informs you that the directory structures have changed, forcing you to change the location specified in the ORACLE_HOME environment variable then, most likely you will run in to this error while relinking :

ld: fatal: file skgxns.o: cannot open file : No such file or directory

You can potentially run in to the same error if you tried copying the oracle software to a different machine with a different directory structure for ORACLE_HOME and tried relinking the software on the new machine.

During relinking, the link program tried running the following command and ran in to the skgxns.o error:

make -f ins_rdbms.mk install

In order for the relinking to work without any skgxns.o errors, the following file needs to be changed:

$ORACLE_HOME/rdbms/lib/nmliblist

The nmliblist file has the ORACLE_HOME's value hard-coded in to it. This file can be edited using vi or emacs editor. Following steps need to be done to correct the problem:

1) $ cd $ORACLE_HOME/rdbms/lib
 
2) $ vi nmliblist 

3) Change the "ORACLE_HOME" value to the changed value

Once the above changes have been made, Oracle should be able to relink without any errors related to skgxns.o.