ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] readelf vs ldd
Date: Mon, 7 Apr 2008 10:15:21 +0400
Message-ID: <20080407061521.GA31901@wo.int.altlinux.org> (raw)
In-Reply-To: <200804061312.10457.ivanov@cg.ru>

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

On Sun, Apr 06, 2008 at 01:12:10PM +0400, Максим Иванов wrote:
> Если я правильно понимаю --as-needed,

Если не уверены, то прочтите документацию
(info ld, искать --as-needed).

> то по ldd должно быть выдано только то, 
> что непосрдественно требуется бинарнику (=то на что есть include).

Если не уверены, то прочтите документацию
(man ldd).

> Ставлю из бранча простенькую kdegames-konquest-3.5.9-alt0.M40., смотрю:
> [maxim@ivanovpc ~]$ ldd /usr/games/konquest

$ readelf -d usr/games/konquest |fgrep '(NEEDED)'
 0x00000001 (NEEDED)                     Shared library: [libkdegames.so.1]
 0x00000001 (NEEDED)                     Shared library: [libkdeui.so.4]
 0x00000001 (NEEDED)                     Shared library: [libkdecore.so.4]
 0x00000001 (NEEDED)                     Shared library: [libqt-mt.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

(info readelf)


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2008-04-07  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06  9:12 [devel] --as-needed отменили? Максим Иванов
2008-04-07  6:15 ` Dmitry V. Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080407061521.GA31901@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git