ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] verify-elf: WARNING: ....so.0.0.0: undefined symbol: ....
Date: Tue, 5 Feb 2008 11:29:56 +0300
Message-ID: <679044850802050029g368e0c14kff9f0fb06e85b8f5@mail.gmail.com> (raw)
In-Reply-To: <47A81723.9090604@reutman.ru>

> по отношению к оригиналу в нём либы перенесены из /usr/lib в /usr/lib/jabberd2
> соответственно при сборке приходилось ставить
> %set_verify_elf_method unresolved=relaxed
Это потому что библиотеки были в %_libdir

> полез в очередной раз в эти дебри
> попробовал прописать
> export LDFLAGS="$LDFLAGS -Wl,-rpath,%_libdir/%name"
> варнинги остались
Они не так лечатся.

> попробовал убрать %set_verify_elf_method unresolved=relaxed - ничего не изменилось
> почему раньше не собиралось ( verify-elf: ERROR: ), а теперь собирается ( verify-elf: WARNING: )?
Потому что для библиотек, находящихся в %_libdir (то есть публичных, с
которыми можно линковать другие программы), наличие unresolved
символов недопустимо. С недолинкованными библиотеками невозможно
линковаться из-за нашего --as-needed. Да и вообще недолинкованность -
зло.

> и можно ли всё-таки избавиться от этих варнингов?
> а то они как-то прям глаза мозолят при сборке .... :)
От некоторых можно избавиться, просто долинковав библиотеки. От
других, особенно если речь о плагинах, избавиться не получится.

  reply	other threads:[~2008-02-05  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05  7:58 Alexey Sidorov
2008-02-05  8:29 ` Damir Shayhutdinov [this message]
2008-02-05  8:46   ` Alexey Sidorov
2008-02-05  9:12     ` Damir Shayhutdinov

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=679044850802050029g368e0c14kff9f0fb06e85b8f5@mail.gmail.com \
    --to=damir@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