How to find dependent libraries

I got a C / C ++ application, I need to identify all the (common) libraries on which it depends, so I can share it with other people along with the libraries so that they do not need to install any package on Linux.

So, is it possible to define all the libraries that a C ++ application depends on?

A little clarification, at the moment I do not have application files, which is why I have to find another way.

+4
source share
2 answers

I think for linux you can use the ldd command. You can see the manual page for this command or find it here http://linux.about.com/library/cmd/blcmdl1_ldd.htm .

+7
source

Try using ldd, which will display dependent libraries for this executable

+3
source

Source: https://habr.com/ru/post/1483285/


All Articles