LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2009, 03:34 AM   #1
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Rep: Reputation: 15
Finding Dynamicly Loaded DLLs


Hi

I have a problem in linux.
I'm using a 3rd part 3D visualization(vega prime) api in ubuntu 9 and so much there were no errors until today.Today I have started to get segmentation fault errors and I discovered I'm missing some .so files to load however I dont know which so files I needed, but for a clue there is a gui tool for the api which makes what I wanted
So I want to know which *.so files does a software uses dynamicaly
Is something like that possible?

Thanks
 
Old 05-18-2009, 04:00 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can use ldd to find the libraries used. man ldd for details.

Regards
 
Old 05-18-2009, 04:18 AM   #3
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Original Poster
Rep: Reputation: 15
But ldd shows only if it linked before executable is started what I wanted is to learn which so files does the executable use while its running
 
Old 05-18-2009, 04:30 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Use lsof to find the files used by the executable in question:
Code:
lsof|grep executable-name
 
Old 05-18-2009, 09:47 AM   #5
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks
 
  


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
Getting the network device name dynamicly? predator.hawk Slackware 0 11-12-2004 11:27 PM
Finding Out What Distro Is Loaded darknessvb Linux - Newbie 11 10-09-2004 07:05 PM
Linux Dynamicly Linked Libraries sikil_nuru Programming 3 03-16-2004 07:51 AM
Obtaining and IP address dynamicly getatmefosho Linux - Networking 3 12-10-2002 07:48 AM
DLLs in Linux? prowzen Linux - General 2 04-22-2001 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 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