[KLUG Programming] Shared libraries & memory usage.

Erik Gillespie programming@kalamazoolinux.org
Mon, 14 Jul 2003 21:52:11 -0400 (EDT)


I don't know why the library would need to resolve a symbol if it didn't 
plan on actually using it, in which case yes, it would need to load it.  
Not that they mean the same, but one normally implies the other.

Then again, I suppose a tool to simply list out a shared library's symbols 
does just that.

Erik

> >I haven't investigated this too much but what I do know is that if you're 
> >using libdl to open a shared library you get the option to resolve symbols 
> >all at once or resolve new symbols as they are called upon.  
> That's interesting; is it your understanding that the word "resolve" means
> the same as "load"? 

-- 
Erik Gillespie
rattles@yakko.cs.wmich.edu

Word of the Day:
  febrile: feverish.

Days until Matrix Revolutions is released: 114