From: Sergey Vlasov <vsu@altlinux.ru> To: devel@lists.altlinux.org Subject: Re: [devel] %add_findprov_lib_path ? Date: Sun, 1 Feb 2009 17:27:00 +0300 Message-ID: <20090201142700.GA7471@atlas.home> (raw) In-Reply-To: <20090201135036.GB2020@wo.int.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1138 bytes --] On Sun, Feb 01, 2009 at 04:50:36PM +0300, Dmitry V. Levin wrote: > Добавлять пути к библиотекам в пользовательский LD_LIBRARY_PATH -- это > антидистрибутивный подход. Так поступают обычно в случае, когда надо > быстро получить результат, сдать его и забыть. Насколько я понял, в данном случае необходимо иметь возможность выбора одной из реализаций libmpi.so.0 уже после сборки исполняемого файла, причём индивидуально у каждого пользователя. Вероятно, в mpi-selector --system можно дополнительно создавать /etc/ld.so.conf.d/mpi-selector.conf с нужным каталогом; для пользователя остаётся LD_LIBRARY_PATH. > Либо ELF, слинкованный с нестандартно расположенной библиотекой, должен > обладать этой информацией (в RPATH), > либо путь к нестандартно расположенной библиотеке добавляется в > /etc/ld.so.conf.d/ Кстати, последний вариант тоже не работает - в /usr/lib/rpm/verify-elf при формировании $rpath из $RPM_VERIFY_ELF_LDD_RPATH ко всем каталогам добавляется $RPM_BUILD_ROOT, в результате библиотеки, находящиеся в других пакетах, каталоги с которыми добавлены в /etc/ld.so.conf.d/*, всё равно не находятся. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2009-02-01 14:27 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-02-01 9:10 Denis Pynkin 2009-02-01 9:15 ` Andrey Rahmatullin 2009-02-01 9:28 ` Denis Pynkin 2009-02-01 9:34 ` Andrey Rahmatullin 2009-02-01 10:10 ` Denis Pynkin 2009-02-01 10:23 ` Andrey Rahmatullin 2009-02-01 10:48 ` Denis Pynkin 2009-02-01 12:34 ` Grigory Batalov 2009-02-01 12:37 ` Grigory Batalov 2009-02-01 13:50 ` Dmitry V. Levin 2009-02-01 14:27 ` Sergey Vlasov [this message] 2009-02-01 16:07 ` Denis Pynkin 2009-02-01 16:12 ` Andrey Rahmatullin 2009-02-01 16:25 ` Denis Pynkin 2009-02-01 16:27 ` Andrey Rahmatullin 2009-02-01 16:36 ` Denis Pynkin 2009-02-02 5:50 ` Andrey Rahmatullin 2009-02-01 20:22 ` Dmitry V. Levin 2009-02-01 16:03 ` Led
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=20090201142700.GA7471@atlas.home \ --to=vsu@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