ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Bolshakov <s.bolshakov@sam-solutions.net>
To: devel@altlinux.ru
Subject: Re: [devel] Problems with rpath
Date: Wed, 02 Apr 2003 14:36:14 +0300
Message-ID: <m3el4l6si9.fsf@pc313.belcaf.minsk.by> (raw)
In-Reply-To: <164193160229.20030402142502@tversu.ru> (Andrey Semenov's message of "Wed, 2 Apr 2003 14:25:02 +0400")

>>>>> "Andrey" == Andrey Semenov <f000115@tversu.ru> writes:

 > Доброе время суток, господа разработчики !
 SI> On Tue, Apr 01, 2003 at 03:36:14PM +0400, Andrey Semenov wrote:
 >>> Доброе время суток, господа разработчики.
 >>> Просветите меня вот по какому вопросу.
 >>> При сборке одного из пакетов мне выдалось сообщение об ошибке
 >>> связанное с RPATH (точно не помню что было сказано). Все стадии
 >>> сборки прошли без ошибок (распаковка, компиляция, установка). А вот
 >>> сам процесс сборки не увенчался успехом. Подскажите где копать ?
 >>> В других пакетах в configure присутствовала опция --disable-rpath.
 >>> В этом пакете такого не наблюдается.
 >>> 
 >>> Андрей Семенов
 SI> Есть такая утилита chrpath. Она же помогает исправить RPATH.

 > Извините за ламерский вопрос, но все-таки:
 > А что такое RPATH и для чего он нужен. И что именно делает эта
 > утилитка ?

Из info ld:
--- %< ---
`-rpath DIR'
     Add a directory to the runtime library search path.  This is used
     when linking an ELF executable with shared objects.

--- %< ---

Обычно нужен, если эти самые shared objects лежат в неких странных
местах. С некоторых пор rpm проверяет получившиеся бинарники на
корректность значения RPATH, см. /usr/lib/rpm/verify-elf.
Поведение rpm при этом определяется значением _verify_elf_method,
соответственно изменить его можно с помощью set_verify_elf_method,
что, собственно, и описано в README.ALT в пакете rpm.

-- 


      reply	other threads:[~2003-04-02 11:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 11:36 Andrey Semenov
2003-04-01 12:09 ` Nazar Yurpeak
2003-04-01 13:14 ` Stanislav Ievlev
2003-04-02 10:25   ` Re[2]: " Andrey Semenov
2003-04-02 11:36     ` Sergey Bolshakov [this message]

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=m3el4l6si9.fsf@pc313.belcaf.minsk.by \
    --to=s.bolshakov@sam-solutions.net \
    --cc=devel@altlinux.ru \
    /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