Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 04-03-2007, 12:39 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 2

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


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
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,855

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
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
LQ Newbie
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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


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 > Forums > Non-*NIX Forums > Programming

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

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