Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exactly what does "relinking" mean?

Status
Not open for further replies.

dba

MIS
Jun 1, 1999
9
US
Hi. Can anyone give me a quick definition of what is meant by &quot;relinking&quot; during the installation of an Oracle patch set? Is it relevant in both NT and Unix? Thanks.<br>
<br>
-- dba
 
Hi there,<br>
<br>
In unix there are many routines common to all (or at least many) programs and these are stored in libraries. Unix programs are what's called &quot;Statically Linked&quot; - when you compile a program the pointers to all of these common routines are hardcoded (by the linker) into your program - these pointers point to your own program as the library routines are copied (&quot;linked&quot;) into your actual program.<br>
<br>
NT programs are &quot;Dynamically Linked&quot; hence you have Dynamic Link Libraries (DLL) files. The common routines are not included as part of your program but are left in the .DLL files and are called when the program runs.<br>
<br>
The &quot;re-linking&quot; option that is part of the Oracle install. As far as I'm aware there's no reason to answer &quot;yes&quot; to this (on a re-install, I always link things on first install) unless you've been made aware of a problem in system library file and have received an update - that's never happened to me.<br>
<br>
I hope that's clear - I'm pretty rubbish at explaining this kind of stuff.<br>
<br>
Mike<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Mike,<br>
<br>
Thanks a lot. That does help. -- John Weil
 
Actually - you *can* have dynamically linked executables in unix now! (showing my age there) the basic principles still stand though.<br>
<br>
-ml<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top