ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Timur Aitov <timonbl4@altlinux.org>
To: devel@lists.altlinux.org
Subject: [devel] сборка java пакета
Date: Thu, 03 Feb 2011 13:34:49 +0300
Message-ID: <4D4A84C9.2030201@altlinux.org> (raw)

Здравствуйте, помогите пожалуста разобраться с одной проблемой.
Наткнулся при сборке java пакета на следующее:
$ hsh --initroot
$ hsh-install java-1.6.0-openjdk strace
$ hsh-shell

$ java
java: error while loading shared libraries: libjli.so: cannot open 
shared object file: No such file or directory
$ strace -fF -o log java
$ cat log
...
1279  open("tls/x86_64/libjli.so", O_RDONLY) = -2
1279  open("tls/libjli.so", O_RDONLY)   = -2
1279  open("x86_64/libjli.so", O_RDONLY) = -2
1279  open("libjli.so", O_RDONLY)       = -2
1279  open("/lib64/tls/x86_64/libjli.so", O_RDONLY) = -2
1279  stat("/lib64/tls/x86_64", 0x7fff290dba20) = -1 ENOENT (No such 
file or directory)
1279  open("/lib64/tls/libjli.so", O_RDONLY) = -2
1279  stat("/lib64/tls", 0x7fff290dba20) = -1 ENOENT (No such file or 
directory)
1279  open("/lib64/x86_64/libjli.so", O_RDONLY) = -2
1279  stat("/lib64/x86_64", 0x7fff290dba20) = -1 ENOENT (No such file or 
directory)
1279  open("/lib64/libjli.so", O_RDONLY) = -2
1279  stat("/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
1279  open("/usr/lib64/tls/x86_64/libjli.so", O_RDONLY) = -2
1279  stat("/usr/lib64/tls/x86_64", 0x7fff290dba20) = -1 ENOENT (No such 
file or directory)
1279  open("/usr/lib64/tls/libjli.so", O_RDONLY) = -2
1279  stat("/usr/lib64/tls", 0x7fff290dba20) = -1 ENOENT (No such file 
or directory)
1279  open("/usr/lib64/x86_64/libjli.so", O_RDONLY) = -2
1279  stat("/usr/lib64/x86_64", 0x7fff290dba20) = -1 ENOENT (No such 
file or directory)
1279  open("/usr/lib64/libjli.so", O_RDONLY) = -2
1279  stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
1279  writev(2, [{"java", 4}, {": ", 2}, {"error while loading shared 
libra"..., 36}, {": ", 2}, {"libjli.so", 9}, {": ", 2}, {"cannot open 
shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, 
{"\n", 1}], 10) = 113


в тоже время в рабочей системе пути поиска данной библиотеки такие:
11197 
open("/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/../lib/amd64/jli/libjli.so", 
O_RDONLY) = 3


             reply	other threads:[~2011-02-03 10:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 10:34 Timur Aitov [this message]
2011-02-03 11:01 ` REAL
2011-02-03 10:46   ` Timur Aitov
2011-02-03 11:14     ` REAL
2011-02-03 12:34 ` Damir Shayhutdinov
2011-02-03 12:36   ` Timur Aitov

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=4D4A84C9.2030201@altlinux.org \
    --to=timonbl4@altlinux.org \
    --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