[slack-ru] (development) Как узнать зависимости?

  • From: Dmitriy Kurshakov <intruder_@xxxxxxxxxx>
  • To: slack-ru@xxxxxxxxxxxxx
  • Date: Sun, 11 Jan 2004 20:58:15 +0300

Oleg Ponomarev wrote:

Наверное все уже видели slapt-get - менеджер пакетов для Slackware. Так вот очень понравилась идея с зависимостями в пакетах (install/slack-required). Хочется попробовать собрать пакет с зависимостями для slapt-get, но возникает вопрос: как узнать какой софт хочет прога, имея ее исходник?

Запускаешь так ldd /твоя/прога и ты увидишь все библиотеки, которые она требует.

Нет, ldd не годится, т.к.:
--- Cut ---
10. What about package dependencies?
Other tools try to provide dependency checking via various hacks (generating
the dependency file, exploding the package, then ldd'ing binary files to find
missing libraries before consulting the dependency file). This is not a
reliable/fool proof method. It is also extremeley slow. Dependencies can not
always be defined strictly by library dependencies. Applications, rather than
libraries may be required, such as the case with man and groff.
--- Cut ---
Я уже и на freashmeat'е был, собирал autodepend - безрезультатно :-(




Other related posts: