How can I find out which shared libraries my program uses?
I need to figure this out to include the libraries in my embedded image.
-Arve
How can I find out which shared libraries my program uses?
I need to figure this out to include the libraries in my embedded image.
-Arve
“Arve Slenes” <arve@datarespons.no> wrote in message
news:3B531587.5E7D94F0@datarespons.no…
How can I find out which shared libraries my program uses?
objdump -x <program or .so>
Check for the entry NEED in the output
I need to figure this out to include the libraries in my embedded image.
-Arve
There’s a hacked up ‘ldd’ shell script at
http://staff.qnx.com/~cburgess/freestuff/ldd
Mario Charest <mcharest@zinformatic.com> wrote:
“Arve Slenes” <> arve@datarespons.no> > wrote in message
news:> 3B531587.5E7D94F0@datarespons.no> …
How can I find out which shared libraries my program uses?objdump -x <program or .so
Check for the entry NEED in the output
I need to figure this out to include the libraries in my embedded image.
-Arve
Mario Charest <mcharest@zinformatic.com> wrote:
“Arve Slenes” <> arve@datarespons.no> > wrote in message
news:> 3B531587.5E7D94F0@datarespons.no> …
How can I find out which shared libraries my program uses?objdump -x <program or .so
Check for the entry NEED in the output
Hello,
Also you can do a “pidin mem | grep _program” will show you all the libs
associated with your program. There is also “DL_DEBUG” which shows you the
libraries it will load to run the code → “export DL_DEBUG=1”.
Regards,
Marcin
I need to figure this out to include the libraries in my embedded image.
-Arve