From: Mikhail Zabaluev <mhz@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Hidden NSPR/NSS unmets
Date: Sat, 14 Jan 2006 00:20:20 +0300
Message-ID: <1137187220.4967.5.camel@localhost.localdomain> (raw)
In-Reply-To: <20060112172222.GA6591@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]
В Чтв, 12/01/2006 в 20:22 +0300, Dmitry V. Levin пишет:
> > Если линкуетесь с библиотеками вне стандартных путей, извольте
> > устанавливать правильный RPATH.
>
> Готово. Первым пострадавшим, как это ни забавно, оказалась mozilla.
> При попытке собрать mozilla-1.7.12-alt3.4.src.rpm случилось вот что:
>
> + /usr/lib/rpm/find-requires
> Library libmsgbaseutil.so referenced from /usr/lib/mozilla/components/libaddrbook.so not found.
> error: /bin/sh failed
> error: Failed to find Requires
>
> А всё из-за того, что
> $ find mozilla-buildroot -name libmsgbaseutil.so
> mozilla-buildroot/usr/lib/mozilla/libmsgbaseutil.so
> $ readelf -d mozilla-buildroot/usr/lib/mozilla/components/libaddrbook.so |grep -w libmsgbaseutil.so
> 0x00000001 (NEEDED) Shared library: [libmsgbaseutil.so]
> $ readelf -d mozilla-buildroot/usr/lib/mozilla/components/libaddrbook.so |grep -w RPATH |wc -l
> 0
>
> Эта сборка вообще не устанавливает RPATH:
> $ for f in `find mozilla-buildroot -type f |xargs -r file |grep -w ELF |cut -d: -f1`; do readelf -d "$f" |grep -wqs RPATH && echo "$f"; done |wc -l
> 0
>
> В стандартных местах нет, RPATH не указан. И где, спрашивается, искать?
Будет вам RPATH. Патч на это есть, но включать его до этого было без
нужды.
[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-01-13 21:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-07 20:18 [devel] Hidden NSPR/NSS unmets [Fwd: gnome-panel-2.13.1-alt1: rebuild failed [7]] Mikhail Zabaluev
2006-01-09 0:52 ` [devel] Hidden NSPR/NSS unmets Dmitry V. Levin
2006-01-12 17:22 ` Dmitry V. Levin
2006-01-13 21:20 ` Mikhail Zabaluev [this message]
2006-01-14 14:17 ` Dmitry V. Levin
2006-01-14 23:37 ` Mikhail Zabaluev
2006-01-15 0:27 ` 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=1137187220.4967.5.camel@localhost.localdomain \
--to=mhz@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