LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-12-2007, 07:42 AM   #1
sidharth.nitj
LQ Newbie
 
Registered: Jan 2007
Posts: 14

Rep: Reputation: 0
shared library


helo frenz

i want to know the role of shared libraries in execution of programs.....as i know that they are the general codes which are required by any usual computer programs .........but i want to know how actually they are used.....
thanx
 
Old 06-12-2007, 08:05 AM   #2
stzein
Member
 
Registered: Mar 2004
Location: Antwerp, Belgium
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
there's a decent explanation on wikipedia. It won't make much sense unless you know some basic programming concepts. In that case maybe my own bad explanation may be enough: very simply -and not entirely correctly- put, a library is a program that another program can ask stuff. For example my program doesn't do sums, it asks a maths library to give the sum of 1 and 3, and then the library says 4.
 
Old 06-12-2007, 08:41 AM   #3
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
I suggest reading "Running Linux" from O'Reilly. Among all the excellent chapters, there's a chapter on basic programming concepts, including shared libraries, linking, etc.

Joel
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
list library function of a shared library .so powah Linux - General 7 10-25-2011 04:47 AM
LINUX - linking archive (static library) with shared (dynamic) library gurkama Programming 5 03-04-2007 11:11 PM
help shared library jingle_mj Programming 4 08-13-2004 04:13 AM
help shared library jingle_mj Linux - General 1 08-13-2004 03:11 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration