From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] libfoo.so.0 has undefined non-weak symbols
Date: Tue, 17 Jan 2006 00:49:04 +0300
Message-ID: <20060116214904.GA4266@nomad.office.altlinux.org> (raw)
In-Reply-To: <20060116194054.GU6737@wrars-comp.wrarsdomain>
[-- Attachment #1: Type: text/plain, Size: 2163 bytes --]
On Tue, Jan 17, 2006 at 12:40:54AM +0500, Andrey Rahmatullin wrote:
> On Mon, Jan 16, 2006 at 06:43:52PM +0300, Dmitry V. Levin wrote:
> > Их там 757 исходных пакетов, в большинстве своём - плагины,
> > не слинкованные с библиотеками.
> Может, для начала выделить библиотеки из (/usr)?/lib ?
Сначала вопиющий случай по имени gnucash-1.8.12-alt1:
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-engine.so.0
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-app-file.so.0
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-backend-file.so.0
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-report-system.so.0
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-report-gnome.so.0
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-ledger-core.so.0
verify-elf: WARNING: ./usr/lib/libgw-gnc.so.0.0.0: not found: libgncmod-gnome-search.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-engine.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-app-file.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-backend-file.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-report-system.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-report-gnome.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-ledger-core.so.0
verify-elf: WARNING: ./usr/lib/libgncgnome.so.0.0.0: not found: libgncmod-gnome-search.so.0
Т.е. /usr/lib/libgw-gnc.so.0.0.0 и /usr/lib/libgncgnome.so.0.0.0
слинкованы с какими-то семью библиотеками, которых в стандартных местах
нет. При этом
$ readelf -d ./usr/lib/libgw-gnc.so.0.0.0 |grep -wc RPATH
0
$ fgrep /libgncmod-engine.so.0 Sisyphus/i586/base/contents_index
/usr/lib/gnucash/libgncmod-engine.so.0 libgnucash
/usr/lib/gnucash/libgncmod-engine.so.0.0.0 libgnucash
Как вам этот тихий ужас нравится?
Предлагаю такую клинику по умолчанию считать ошибкой (сейчас, как видно,
это предупреждение).
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-01-16 21:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 19:36 Andrey Rahmatullin
2006-01-15 0:09 ` Dmitry V. Levin
2006-01-16 4:48 ` Andrey Rahmatullin
2006-01-16 15:43 ` Dmitry V. Levin
2006-01-16 18:37 ` [devel] " Michael Shigorin
2006-01-16 19:40 ` [devel] " Andrey Rahmatullin
2006-01-16 21:49 ` Dmitry V. Levin [this message]
2006-01-17 0:11 ` [devel] gnucash (Was: libfoo.so.0 has undefined non-weak symbols) Mikhail Zabaluev
2006-01-17 16:20 ` [devel] " Michael Shigorin
2006-01-21 22:34 ` [devel] " Vitaly Lipatov
2006-01-22 15:38 ` Mikhail Zabaluev
2006-01-22 20:08 ` [devel] gnucash (Was: libfoo.so.0 has undefined non-weak symbols) [JT] Vitaly Lipatov
2006-01-23 9:29 ` Mikhail Zabaluev
2006-01-16 22:00 ` [devel] libfoo.so.0 has undefined non-weak symbols Dmitry V. Levin
2006-01-30 19:32 ` Igor Vlasenko
2006-01-30 21:12 ` Andrey Rahmatullin
2006-02-05 15:16 ` Igor Vlasenko
2006-02-05 15:26 ` Igor Vlasenko
2006-02-07 4:05 ` Genix
2006-02-07 7:09 ` Igor Zubkov
2006-02-09 20:16 ` Andrey Rahmatullin
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=20060116214904.GA4266@nomad.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@altlinux.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