P
P
Pavel K2016-12-04 01:30:43
Qt
Pavel K, 2016-12-04 01:30:43

How to collect all dependencies in a heap, output by ldd?

Greetings!
A program was written in Qt using a bunch of third-party libraries, which were also compiled from raw ones.
I run ldd and see an obscenely long list of dependencies.
Is there any ready-made bicycle that, based on the output of ldd, would collect all the dependencies into a bunch + go through the links, if it is one, well, and say goodbye to the dependencies of the dependencies, not taking into account the system libs?
PS I already know about the basic dependencies of Qt.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Sundukov, 2016-12-08
@alekciy

There's a fairly simple output format. You can sketch a script on the bash that will go through the dependencies.
I once did this, it was necessary for chroot so that the necessary commands could work inside. Unfortunately, I didn’t immediately find where it was lying around, it was lost somewhere on the servers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question