Unix Libraries Ins/Outs

Unix Libraries Ins/Outs

Post by Jeff M Saen » Sat, 07 Mar 1998 04:00:00



Can someone point me to some basic information on unix shared and static
libraries for someone who's just starting out developing libs for unix?
What do they all mean?

--
    _ ___  _
   | |   \| |     Jeff Saenz
   | | |  | |     Jet Propulsion Laboratory
 __| |  _/| |__   Pasadena, CA 91101
|____|_|  |____|

 
 
 

Unix Libraries Ins/Outs

Post by Jonathan Winat » Wed, 11 Mar 1998 04:00:00


unix shared libraries are run time libraries; therefore, the actual code is
not included
in your executable file.  The code modules from the libraries are
dynamically resolved
when the program is started.  This also means that when you want to run the
program
you have to make sure that the shared (run-time) libraries that you need are
installed properly on the machine that you are running the program and that
the environment variable LD_LIBRARY_PATH includes a path to the directory
for the libraries.

When you link your program with static libraries, the linker includes the
code modules
from the static libraries in your final executable file, so you don't have
to include the
libraries in your distribution.

Jonathan Winata


>Can someone point me to some basic information on unix shared and static
>libraries for someone who's just starting out developing libs for unix?
>What do they all mean?

>--
>    _ ___  _
>   | |   \| |     Jeff Saenz
>   | | |  | |     Jet Propulsion Laboratory
> __| |  _/| |__   Pasadena, CA 91101
>|____|_|  |____|


 
 
 

Unix Libraries Ins/Outs

Post by James Youngma » Thu, 12 Mar 1998 04:00:00


  Jeff> Can someone point me to some basic information on unix shared
  Jeff> and static libraries for someone who's just starting out
  Jeff> developing libs for unix?  What do they all mean?

Slightly more advanced that what you asked for perhaps, but GNU
"libtool" hadles the intricacies of generating libraries on many
versions of Unix without you needing to jump through hoops, and it
comes with a manual.

All GNU tools can always be downloaded from ftp.gnu.org, Internet
weather permitting.

 
 
 

1. More page outs than page ins?

Hi,

Would anyone be kind enough to explain to me why systems usually have
more page-outs than page-ins? It has got me stumped for quite some
time. I would think that if 100mb is paged out from memory to disk,
then similarly 100mb should be paged-in back from disk to physical
memory?

Or is my understand of paging-in and paging-out wrong? i.e Page-outs
occur when a page is pushed from main memory to the paging space due
to a variety of reasons (lack of physical memory being one of them)
while page-ins' occur when there is free physical memory and these
pages are pushed back from disk back to the physical memory.

TIA!

2. roadmap to network security professional career?

3. Unix Plug-ins?

4. mosaic-solaris

5. Remote unix (RS/6000) servers with dial-ins

6. [RFC] IDE locking

7. Migrating DB-Library into Client-Library in UNIX

8. Migrating DB-Library into Client-Library on UNIX

9. Migrating DB-Library into Client-Library in UNIX

10. Migrating DB-Library into Client-Library on UNIX

11. Perl developer/Unix SA turns PM and selling Library of unix/linux/perl books

12. libraries libraries libraries