From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4D4A84C9.2030201@altlinux.org> Date: Thu, 03 Feb 2011 13:34:49 +0300 From: Timur Aitov User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14pre) Gecko/20110124 Thunderbird/3.1.8pre MIME-Version: 1.0 To: devel@lists.altlinux.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [devel] =?utf-8?b?0YHQsdC+0YDQutCwIGphdmEg0L/QsNC60LXRgtCw?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2011 10:34:36 -0000 Archived-At: List-Archive: List-Post: Здравствуйте, помогите пожалуста разобраться с одной проблемой. Наткнулся при сборке 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