ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: illegal RPATH: relative paths
Date: Wed, 21 Dec 2011 12:55:54 +0200
Message-ID: <20111221105554.GU2368@osdn.org.ua> (raw)
In-Reply-To: <20111212141201.GC24413@altlinux.org>

On Mon, Dec 12, 2011 at 06:12:01PM +0400, Dmitry V. Levin wrote:
> open("foo/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
> 
> Как видно, относительный путь в RPATH приводит к тому, что
> ld.so во время запуска программы ищет все слинкованные
> библиотеки относительно текущего каталога, т.е. в совершенно
> непредсказуемых местах.

Хуже того -- в достаточной мере предсказуемых теми, кто может
быть заинтересован подложить библиотеку специального вида,
как понимаю.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  parent reply	other threads:[~2011-12-21 10:55 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 13:47 [devel] I: illegal RPATH, introduction Dmitry V. Levin
2011-12-12 14:12 ` [devel] I: illegal RPATH: relative paths Dmitry V. Levin
2011-12-12 18:01   ` Igor Vlasenko
2011-12-13  3:40     ` REAL
2011-12-13  4:18       ` Damir Shayhutdinov
2011-12-13  5:52         ` REAL
2011-12-13  6:50           ` Damir Shayhutdinov
2011-12-13  7:56             ` REAL
2011-12-13 11:06               ` Dmitry V. Levin
2011-12-13 12:11                 ` REAL
2011-12-13 17:24               ` Michael Shigorin
2011-12-13 11:30     ` Dmitry V. Levin
2011-12-13 12:33       ` REAL
2011-12-13 16:01       ` Dmitry V. Levin
2011-12-13 16:11         ` Денис Смирнов
2011-12-13 16:46           ` Damir Shayhutdinov
2011-12-14  6:44             ` Денис Смирнов
2011-12-14  8:53               ` Sergey Y. Afonin
2011-12-14 10:07                 ` REAL
2011-12-14 11:09                   ` Michael Shigorin
2011-12-14 12:11                     ` REAL
2011-12-13 17:25       ` Michael Shigorin
2011-12-13 17:32         ` Dmitry V. Levin
2011-12-13 19:17           ` Michael Shigorin
2011-12-13 21:29       ` Dmitry V. Levin
2011-12-13  3:37   ` REAL
2011-12-21 10:55   ` Michael Shigorin [this message]
2011-12-31 15:43     ` Yuri N. Sedunov
2011-12-12 14:33 ` [devel] I: illegal RPATH: out of standard library tree paths Dmitry V. Levin
2011-12-13  3:43   ` REAL
2011-12-13 11:17     ` Dmitry V. Levin
2011-12-13 12:25       ` REAL
2011-12-12 14:57 ` [devel] I: illegal RPATH: paths to standard libraries 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=20111221105554.GU2368@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --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