LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-03-2007, 12:39 PM   #1
nileshbaviskar
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Post How to implement ldd command logic


Hello,

I want to implement functionality similar to ldd command of unix....
Plz help me how to do that...
 
Old 04-03-2007, 01:41 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
In C or what? If so, read/cut/paste the code from the ldd sources. If scripting language, just call ldd as needed.
 
Old 04-04-2007, 02:52 AM   #3
nileshbaviskar
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gnashley
In C or what? If so, read/cut/paste the code from the ldd sources. If scripting language, just call ldd as needed.


HI Ggnashley

Thanks for helping me

Actually i want to do
Find files/folders from file system , check it permissions and further check the dependecies of particluar file/folder which found with find command
if there is 4 files in particular folder find dependencies of that folder and further dependencies of conataining files

it requires recursive looping but i m confused how to do that

if possible give me source code in shell script


Thanks & regards
Nilesh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 dynamic dependency" of an executable using command other than "ldd" Amrita@3086 Solaris / OpenSolaris 3 04-04-2007 04:56 AM
Urgent: libraries not resolved on running ldd command in solaris 9 msgforsunil Solaris / OpenSolaris 5 06-16-2006 10:46 AM
Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs HellSpawn Linux - Software 2 06-04-2006 09:18 PM
about ldd -d jingle_mj Programming 4 09-10-2004 06:25 AM
Command to Implement new settings w/o re-logging in... rootking Linux - Software 2 06-18-2004 12:45 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration