ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: [devel]  Ошибка линковки
Date: Thu, 17 May 2007 11:29:30 +0400
Message-ID: <679044850705170029v5dbd75baj92ad07cfaaa5ad72@mail.gmail.com> (raw)
In-Reply-To: <679044850705170028t3c7c536dn275ab36fca475821@mail.gmail.com>

> Доброго всем дня!
И тебе привет!


> При сборке пакетика, вылазит вот такая вот ошибка:
>
> Adjusting library links in /home/andrew/tmp/libunwind-buildroot
> ./usr/lib:
>          libunwind.so.7 -> libunwind.so.7.0.0
>          libunwind-ptrace.so.0 -> libunwind-ptrace.so.0.0.0
>          libunwind-x86.so.7 -> libunwind-x86.so.7.0.0
> Verifying ELF objects in /home/andrew/tmp/libunwind-buildroot
> (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
> symbol: _Ux86_local_addr_space
> verify-elf: ERROR: ./usr/lib/libunwind-ptrace.so.0.0.0: undefined
> symbol: _Ux86_dwarf_search_unwind_table
> ...
>
>
> Все бы ничего и я полез бы глубоко в исходники, но данный пакетик
> великолепно пересобирается в среде Red Hat.
Потому что в великолепной среде Red Hat нету verify-elf. Если ты соберешь с

%set_verify_elf_method unresolved=relaxed - то получишь то же самое
что и в среде Red Hat - "великолепную" сборку ;)


> Сначала я грешил на
> --as-needed, но export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" не принес
> ожидаемого результата. Может быть такая проблема известна и лекарство
> самому искать не надо?
Долинковывать надо. В Редхате видимо просто недолинковывают. Попробуй
на эту самую библиотеку в Редхате натравить ldd -r, чтобы в этом
убедиться.

Как долинковать - см. архивы этой рассылки (hint: search.altlinux.ru).
Лично я не раз объяснял, как это можно сделать.

  reply	other threads:[~2007-05-17  7:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17  7:12 Avramenko Andrew
2007-05-17  7:28 ` Avramenko Andrew
2007-05-17  7:28 ` Damir Shayhutdinov
2007-05-17  7:29   ` Damir Shayhutdinov [this message]
2007-05-17  7:33     ` Avramenko Andrew
2007-05-17  9:57     ` Michael Shigorin

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=679044850705170029v5dbd75baj92ad07cfaaa5ad72@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