unix libraries and patch


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers unix libraries and patch
# 1  
Old 03-28-2001
what are dynamic libraries and static libraries in unix? what are .so and .a files? what is patch building and what for is it made? if anyone can throw some answer ( a little more illustrative) , I will be very grateful.
# 2  
Old 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.




# 3  
Old 03-29-2001
Nice answer. U have written so nicely. Thanks.
Will you tell me some links/ books to read a little more details. and also I want to know about patch.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check latest patch applied on UNIX server

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

2. UNIX for Dummies Questions & Answers

PATH for c libraries

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

3. Programming

I want to know some c libraries

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

4. Shell Programming and Scripting

How to use two different libraries?

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

5. UNIX for Advanced & Expert Users

Patch Management over mixed unix platforms

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. UNIX for Dummies Questions & Answers

libraries

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

7. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

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

8. IP Networking

Libraries

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

9. Programming

C Libraries??

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
Login or Register to Ask a Question