Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old October 6th, 2008, 05:18 PM
Newbie
 
Join Date: Aug 2008
Posts: 23
Default shared library in running process

Hi

My program is running, how can i check what are the shared library it has loaded.
Actually, i want to check whether a particular shared library has been loaded or not. How do i do that.

Thanks in advance.
Regards,
Ashok
Reply
  #2  
Old October 7th, 2008, 07:29 AM
ashitpro's Avatar
Expert
 
Join Date: Aug 2007
Posts: 297
Default

I don't know how to check loaded libraries by running program,
But I can tell you the way to get all shared libraries on which the particular program is depend.
You can use ldd command to achieve this...
Even if you find that out of say 10 libraries(output of ldd) 3 libraries have been loaded, it's not guaranteed that target program is really using it. It may have done it's work but still it is loaded in memory. More or less its just a function call for which binary is depending on shared library..
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles