Subj : Re: How to get list of shared libraries used by program To : comp.os.linux From : Larry I Smith Date : Tue Sep 07 2004 10:55 pm hitectahir wrote: > Hi, > > Is there some function or system call through which I can get, at > runtime, a list of the shared libraries loaded by my program? Or > perhaps some place in /proc where the list of loaded shared libraries > is temporarily stored? > > Thanks > Tahir. If you merely want to know what libs will be loaded, then 'ldd' (man ldd) will give you a list of libs that a program will load at runtime. For example, to find out which libs 'grep' will load use: ldd /usr/bin/grep Regards, Larry -- Anti-spam address, change each 'X' to '.' to reply directly. .