LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to implement ldd command logic (https://www.linuxquestions.org/questions/programming-9/how-to-implement-ldd-command-logic-543027/)

nileshbaviskar 04-03-2007 12:39 PM

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...

gnashley 04-03-2007 01:41 PM

In C or what? If so, read/cut/paste the code from the ldd sources. If scripting language, just call ldd as needed.

nileshbaviskar 04-04-2007 02:52 AM

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


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