Showing results for 
Search instead for 
Did you mean: 

Relink Oracle Error

Regular Advisor

Relink Oracle Error

This is Oracle After executing "relink all", we got the below message,
- Linking Oracle
rm -f /u10/oracle/rdbms/lib/oracle
cc -L/u10/oracle/lib/ -L/u10/oracle/rdbms/lib -o /u10/oracle/rdbms/lib/oracle
load_whole_file: Could not malloc 184504. bytes, for /u10/oracle/lib//libordsdo
*** Exit 1

What can we do for that?

Indira Aramandla
Honored Contributor

Re: Relink Oracle Error

Hi Eric,

This indicates an error with the linker ld. Check your PATH environment variable, make sure /usr/bin precedes /usr/local/bin .

export PATH=/usr/bin:$ORACLE_HOME/bin:/usr/local/bin
Check the following as well.

1) If there is need to increase shells data limit size
May be the data region of the "ld" process is hitting a shell-imposed limit. In order for the "ld" process to complete the relink successfully, it must be allowed to further increase the size of its data region. This is controlled by the C shell's "limit" or Bourne/Korn shell's "ulimit".

2) There was enough temp space

3) There was plenty of swap space

If the above are fine then may be the Libnetwork.a file is corrupt.

If the output from /usr/ccs/bin/nm libnetwork.a |grep nlstdstp indicates a corruption
in the libnetwork.a file, then libnetwork.a must be replaced.

Steps to replace libnetwork.a

1. copy libnetwork.a_ from cd-rom

2. uncompress them using $ORACLE_HOME/orainst/oiuncomp utility

3. cd $ORACLE_HOME/lib

4. mergelib -olibsqlnet.a libnetwork.a

5. cd $ORACLE_HOME/network/lib

6. make -f install

Indira A

Never give up, Keep Trying
Fred Ruffet
Honored Contributor

Re: Relink Oracle Error

You may also increase maxdsize kernel parameter. Ulimit possibilities are limited by this kernel parameter.



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

Re: Relink Oracle Error

hi eric,

before installing the database software, make sure to meet the all requirements. You can check them manually or use the convenient "Unix InstallPrep script" to generate a report of configuration steps that you need to perform prior the installation. Please refer to NOTE:189256.1 - Unix InstallPrep script.

this scripts does all the checking for you and give a report on what is missing. For instance, your kernel parameters should be correct:
shmmax=1073741824 or 0X40000000

hope this helps too!

No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Hein van den Heuvel
Honored Contributor

Re: Relink Oracle Error

>>> Relink Oracle Error

Hah, see! should have listened to my advice in:
"Nah. Don't bother. It is not worth the hassle/risk."

:-) :-) :-)

>> This indicates an error with the linker ld.

nitpicking... not an error with ld itself, but the environment in which it had to execute.

Sure this is a virtual memory limitation. Oracle is a large image, and ld needs to 'see it all'. As Fred/Indira suggest, check ulimit and maxdsize settings and the likes.

Good luck,

Regular Advisor

Re: Relink Oracle Error

Thanks all u