ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] сборка java пакета
@ 2011-02-03 10:34 Timur Aitov
  2011-02-03 11:01 ` REAL
  2011-02-03 12:34 ` Damir Shayhutdinov
  0 siblings, 2 replies; 6+ messages in thread
From: Timur Aitov @ 2011-02-03 10:34 UTC (permalink / raw)
  To: devel

Здравствуйте, помогите пожалуста разобраться с одной проблемой.
Наткнулся при сборке 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-03 12:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-03 10:34 [devel] сборка java пакета Timur Aitov
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

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