03-29-2001
A library is a file containing several object files, that can be used as a single entity in a linking phase of a program. Normally the library is indexed, so it is easy to find symbols (functions, variables and so on...) in them. For this reason, linking a program whose object files are ordered in libraries is faster than linking a program whose object files are separate on the disk. Also, when using a library, we have fewer files to look for and open, which even further speeds up linking.
Static libraries are just collections of object files that are linked into the program during the linking phase of compilation, and are not relevant during runtime.
Static libraries are commonly named libname.a. The .a suffix refers to <b>a</b>rchive
dynamic libraries (also called Shared libraries) are lbrararies in which modules can be bound into the executable program at runtime. when the program is started, a program in the system (called a dynamic loader) checks out which shared libraries were linked with the program, loads them to memory, and attaches them to the copy of the program in memory.
Dynamic libraries are commonly named libname.so. The .so suffix refers to <b>s</b>hared <b>o</b>bject.
9 More Discussions You Might Find Interesting
1. Programming
I can not locate package sys/mkdev.h on HP-UX or Linux. Is it a special package or something? (9 Replies)
Discussion started by: laila63
9 Replies
2. IP Networking
How is Libnet and libpcap are useful in sending a packet through DLL layer
and sniff network layer?
and how sinffers are used to track ip adresses provided Mac adresses? (1 Reply)
Discussion started by: netsavy
1 Replies
3. IP Networking
Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down.
I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
4. UNIX for Dummies Questions & Answers
I am slowly ploughing my way through the list of links to on-line tutorials you provided to newbies. I for one am grateful for such a comprehensive list, so first of all thank you for that.
What i cannot seem to find, is information on C++ libraries:
The two links on libraries in your list... (0 Replies)
Discussion started by: pil888
0 Replies
5. UNIX for Advanced & Expert Users
Does anyone know of any tools that manage the rollout of patches across multiple types of Unix platform ( eg Solaris, Aix etc ).
I am looking for something that does a similiar job to SMS or WSUS in the Windows world (3 Replies)
Discussion started by: jimthompson
3 Replies
6. Shell Programming and Scripting
Hello,
I need to use two different libraries like /usr/local/bin/expect and /usr/bin/ksh at the same script. Is it possible? (4 Replies)
Discussion started by: fozay
4 Replies
7. Programming
I'm a rookie to C and i'm looking for some libraries to learn,something likes the C++ STL or Boost ,does any1 can tell me some of them?Thanks a lot:)
Eric (3 Replies)
Discussion started by: homeboy
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I met a problem when running a java program. When I did the debugging:
srna/ExeFiles/linux$ ldd patman
linux-gate.so.1 => (0xf77b5000)
libpopt.so.0 => not found
libstdc++.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0xf7778000)
libgcc_s.so.1 => not found
... (5 Replies)
Discussion started by: yifangt
5 Replies
9. Shell Programming and Scripting
hi all,
i need to check the latest patch applied on my unix server. here is the server info:
bash-3.2$ uname -a
SunOS usa0300uz1226 5.10 Generic_148888-01 sun4u sparc SUNW,SPARC-Enterprise
please tell which is the command for checking patch? (1 Reply)
Discussion started by: lovelysethii
1 Replies
LDRDF(1) Debian Manual LDRDF(1)
NAME
ldrdf - link RDOFF objects and libraries produced by rdflib(1)
SYNOPSIS
ldrdf [-o output-file] object-file... [-llibrary...]
DESCRIPTION
ldrdf is a version of unix ld(1) (or DOS LINK) for use with RDOFF files. It is capable of linking RDOFF objects, and libraries produced
with the rdflib(1) utility.
Libraries must be specified with their path as no search is performed. Modules in libraries are not linked to the program unless they are
referred to.
OPTIONS
-o output-file
Specify an output file. The default output filename is 'aout.rdx'.
-v Increase verbosity level. Currently 4 verbosity levels are available: default (which only prints error information), normal (which
prints information about the produced object, -v), medium (which prints information about what the program is doing, -v -v) and high
(which prints all available information, -v -v -v).
-p Change alignment value to which multiple segments combigned into a single segment should be aligned (must be either 1, 2, 4, 8, 16,
32 or 256; default is 16).
AUTHORS
Julian Hall <jules@earthcorp.com>.
This manual page was written by Matej Vela <vela@debian.org>.
Debian Project September 6, 1999 LDRDF(1)