* [devel] RPATH contains standard library path
@ 2011-12-15 11:30 ` Motsyo Gennadi aka Drool
2011-12-15 12:35 ` REAL
0 siblings, 1 reply; 6+ messages in thread
From: Motsyo Gennadi aka Drool @ 2011-12-15 11:30 UTC (permalink / raw)
To: devel
Я опять пропустил очередную революцию? Сломалась сборка Sim-IM с
массовой диагностикой:
verify-elf: ERROR: ./usr/lib64/sim/icons.so: RPATH contains standard
library path "/usr/lib64": /usr/lib64
Так же пострадал tastymenu:
verify-elf: ERROR: ./usr/lib64/kde3/tastymenu_panelapplet.so: RPATH
contains standard library path "/usr/lib64": /usr/lib64
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] RPATH contains standard library path
2011-12-15 12:45 ` REAL
@ 2011-12-15 12:01 ` Dmitry V. Levin
0 siblings, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2011-12-15 12:01 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
On Thu, Dec 15, 2011 at 06:45:21PM +0600, REAL wrote:
> 15.12.2011 17:40, Pavel Vaynerman пишет:
> > > Теперь пути /usr/lib и /usr/lib64 в RPATH
> > считаются багом, который
> >
> > > нужно исправлять.
> >
> >Так что конкретно надо делать?
>
> Вариант с libtool ldv@ уже говорил, остальные
> варианты зависят от конкретной ситуации,
> ну а самый быстрый и универсальный
> способ - при помощи chrpath исправить RPATH на
> нужный.
Использовать chrpath, конечно, проще, но надо понимать, что это
в некотором смысле жульничество, поскольку RPATH фактически зануляется
прямо в ELF-файле. Если есть возможность не помещать ненужный RPATH в
ELF-файл изначально, то лучше воспользоваться такой возможностью.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] RPATH contains standard library path
@ 2011-12-15 12:02 ` Dmitry V. Levin
2011-12-15 12:31 ` Michael Shigorin
2011-12-15 12:45 ` REAL
1 sibling, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2011-12-15 12:02 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
On Thu, Dec 15, 2011 at 03:40:27PM +0400, Pavel Vaynerman wrote:
> > Теперь пути /usr/lib и /usr/lib64 в RPATH считаются багом, который
> > нужно исправлять.
> Так что конкретно надо делать?
См. http://lists.altlinux.org/pipermail/devel/2011-December/192727.html
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] RPATH contains standard library path
2011-12-15 12:02 ` Dmitry V. Levin
@ 2011-12-15 12:31 ` Michael Shigorin
0 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2011-12-15 12:31 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Thu, Dec 15, 2011 at 04:02:50PM +0400, Dmitry V. Levin wrote:
> > > Теперь пути /usr/lib и /usr/lib64 в RPATH считаются багом,
> > > который нужно исправлять.
> > Так что конкретно надо делать?
> См. http://lists.altlinux.org/pipermail/devel/2011-December/192727.html
BTW http://www.altlinux.org/ProblemWithVerifyELFAndRPATH
(можно дополнить -- пока добавил хоть ссылку).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] RPATH contains standard library path
2011-12-15 11:30 ` [devel] RPATH contains standard library path Motsyo Gennadi aka Drool
@ 2011-12-15 12:35 ` REAL
0 siblings, 1 reply; 6+ messages in thread
From: REAL @ 2011-12-15 12:35 UTC (permalink / raw)
To: ALT Linux Team development discussions
15.12.2011 17:30, Motsyo Gennadi aka Drool пишет:
> Я опять пропустил очередную революцию? Сломалась сборка Sim-IM с
> массовой диагностикой:
Пропустил, тут совсем недавно был разговор на эту тему.
>
> verify-elf: ERROR: ./usr/lib64/sim/icons.so: RPATH contains standard
> library path "/usr/lib64": /usr/lib64
>
> Так же пострадал tastymenu:
>
> verify-elf: ERROR: ./usr/lib64/kde3/tastymenu_panelapplet.so: RPATH
> contains standard library path "/usr/lib64": /usr/lib64
Теперь пути /usr/lib и /usr/lib64 в RPATH считаются багом, который
нужно исправлять.
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] RPATH contains standard library path
2011-12-15 12:02 ` Dmitry V. Levin
@ 2011-12-15 12:45 ` REAL
2011-12-15 12:01 ` Dmitry V. Levin
1 sibling, 1 reply; 6+ messages in thread
From: REAL @ 2011-12-15 12:45 UTC (permalink / raw)
To: ALT Linux Team development discussions
15.12.2011 17:40, Pavel Vaynerman пишет:
> > Теперь пути /usr/lib и /usr/lib64 в RPATH считаются багом, который
>
> > нужно исправлять.
>
> Так что конкретно надо делать?
Вариант с libtool ldv@ уже говорил, остальные варианты зависят от
конкретной ситуации, ну а самый быстрый и универсальный способ - при
помощи chrpath исправить RPATH на нужный.
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-15 12:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-15 11:30 ` [devel] RPATH contains standard library path Motsyo Gennadi aka Drool
2011-12-15 12:35 ` REAL
2011-12-15 12:02 ` Dmitry V. Levin
2011-12-15 12:31 ` Michael Shigorin
2011-12-15 12:45 ` REAL
2011-12-15 12:01 ` Dmitry V. Levin
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