ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Максим Иванов" <ivanov@cg.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] --as-needed отменили?
Date: Sun, 6 Apr 2008 13:12:10 +0400
Message-ID: <200804061312.10457.ivanov@cg.ru> (raw)

Если я правильно понимаю --as-needed, то по ldd должно быть выдано только то, 
что непосрдественно требуется бинарнику (=то на что есть include).

Ставлю из бранча простенькую kdegames-konquest-3.5.9-alt0.M40., смотрю:
[maxim@ivanovpc ~]$ ldd /usr/games/konquest
        linux-gate.so.1 =>  (0xb7f54000)
        libkdegames.so.1 => /usr/lib/libkdegames.so.1 (0xb7ea9000)
        libkdeui.so.4 => /usr/lib/libkdeui.so.4 (0xb7c66000)
        libkdecore.so.4 => /usr/lib/libkdecore.so.4 (0xb7ad1000)
        libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0xb74ff000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7418000)
        libm.so.6 => /lib/libm.so.6 (0xb73f2000)
        libc.so.6 => /lib/libc.so.6 (0xb72cc000)
        libkio.so.4 => /usr/lib/libkio.so.4 (0xb707c000)
        libkdnssd.so.1 => /usr/lib/libkdnssd.so.1 (0xb706a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7054000)
        libDCOP.so.4 => /usr/lib/libDCOP.so.4 (0xb702b000)
        libkdefx.so.4 => /usr/lib/libkdefx.so.4 (0xb7009000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6ffb000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6f0d000)
        libutempter.so.0 => /usr/lib/libutempter.so.0 (0xb6f0b000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6f07000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb6ef0000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb6ebf000)
        libz.so.1 => /lib/libz.so.1 (0xb6eab000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6ea3000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6e8c000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb6e84000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6e7b000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6e75000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6e6c000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6e69000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb6e57000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6ddc000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6db0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6da5000)
        /lib/ld-linux.so.2 (0x80000000)
        libkdesu.so.4 => /usr/lib/libkdesu.so.4 (0xb6d97000)
        libkwalletclient.so.1 => /usr/lib/libkwalletclient.so.1 (0xb6d8a000)
        libacl.so.1 => /lib/libacl.so.1 (0xb6d84000)
        libattr.so.1 => /lib/libattr.so.1 (0xb6d7f000)
        libavahi-qt3.so.1 => /usr/lib/libavahi-qt3.so.1 (0xb6d7a000)
        libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb6d6f000)
        libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb6d60000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6d5d000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6d57000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6d52000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6d32000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb6d00000)

Никогда не поверю, что такая простенькая игрушка напрямую дёргает иксы, да 
разные avahi.


             reply	other threads:[~2008-04-06  9:12 UTC|newest]

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

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=200804061312.10457.ivanov@cg.ru \
    --to=ivanov@cg.ru \
    --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