ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Max Ivanov <ivanov.maxim@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] hasher, rpath, $ORIGIN
Date: Sun, 24 Jan 2010 02:43:20 +0000
Message-ID: <fbfa7b0c1001231843y225cdceeieaf63c10ae3a1a92@mail.gmail.com> (raw)
In-Reply-To: <fbfa7b0c1001231833m7c882ecfob4df7782b92723db@mail.gmail.com>

Еще забыл добавить в копилку странностей:

1) $ ldd -r /usr/lib/jvm/java/bin/javac
        linux-gate.so.1 =>  (0xb77c0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb779f000)
        libjli.so =>
/usr/lib/jvm/java/bin/../jre/lib/i386/jli/libjli.so (0xb7796000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7791000)
        libc.so.6 => /lib/libc.so.6 (0xb7639000)
        /lib/ld-linux.so.2 (0xb77c1000)


2) $ LD_DEBUG=libs /usr/lib/jvm/java/bin/javac
 ....
     10692:     find library=libjli.so [0]; searching
     10692:      search
path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2:
 (RPATH from file /usr/lib/jvm/java/bin/javac)
     10692:       trying file=tls/i686/sse2/libjli.so
     10692:       trying file=tls/i686/libjli.so
     10692:       trying file=tls/sse2/libjli.so
     10692:       trying file=tls/libjli.so
     10692:       trying file=i686/sse2/libjli.so
     10692:       trying file=i686/libjli.so
     10692:       trying file=sse2/libjli.so
     10692:       trying file=libjli.so
     10692:      search cache=/etc/ld.so.cache
     10692:      search
path=/lib/tls/i686/sse2:/lib/tls/i686:/lib/tls/sse2:/lib/tls:/lib/i686/sse2:/lib/i686:/lib/sse2:/lib:/usr/lib/tls/i686/sse2:/usr/lib/tls/i686:/usr/lib/tls/sse2:/usr/lib/tls:/usr/lib/i686/sse2:/usr/lib/i686:/usr/lib/sse2:/usr/lib
               (system search path)
     10692:       trying file=/lib/tls/i686/sse2/libjli.so
     10692:       trying file=/lib/tls/i686/libjli.so
     10692:       trying file=/lib/tls/sse2/libjli.so
     10692:       trying file=/lib/tls/libjli.so
     10692:       trying file=/lib/i686/sse2/libjli.so
     10692:       trying file=/lib/i686/libjli.so
     10692:       trying file=/lib/sse2/libjli.so
     10692:       trying file=/lib/libjli.so
     10692:       trying file=/usr/lib/tls/i686/sse2/libjli.so
     10692:       trying file=/usr/lib/tls/i686/libjli.so
     10692:       trying file=/usr/lib/tls/sse2/libjli.so
     10692:       trying file=/usr/lib/tls/libjli.so
     10692:       trying file=/usr/lib/i686/sse2/libjli.so
     10692:       trying file=/usr/lib/i686/libjli.so
     10692:       trying file=/usr/lib/sse2/libjli.so
     10692:       trying file=/usr/lib/libjli.so



24.01.10, Max Ivanov<ivanov.maxim@gmail.com> написал(а):
> Почему-то javac (от sun) будучи поставленным в hasher не видит
> libjli.so, в хост системе все ок. Ничего не понимаю :)
>
> [builder@rbnote bin]$ readelf -a ./javac  |grep jli
>  0x00000001 (NEEDED)                     Shared library: [libjli.so]
>  0x0000000f (RPATH)                      Library rpath:
> [$ORIGIN/../lib/i386/jli:$ORIGIN/../jre/lib/i386/jli]
>   0x0030: Version: 1  File: libjli.so  Cnt: 1
>
> При этом strace javac не показывает даже попыток поиска  по rpath,
> только стандартные пути =(
>
> Вопрос стандартный, где подкрутить, чтобы заработало?
>


      parent reply	other threads:[~2010-01-24  2:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-24  2:33 Max Ivanov
2010-01-23  1:30 ` Igor Vlasenko
2010-01-24 12:50   ` Max Ivanov
2010-01-23  8:18     ` Igor Vlasenko
2010-01-24  2:43 ` Max Ivanov [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=fbfa7b0c1001231843y225cdceeieaf63c10ae3a1a92@mail.gmail.com \
    --to=ivanov.maxim@gmail.com \
    --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