ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Лимит в shell-script?
@ 2003-04-17 21:06 Alexei V. Mezin
  2003-04-17 21:50 ` Dmitry Barashev
  0 siblings, 1 reply; 7+ messages in thread
From: Alexei V. Mezin @ 2003-04-17 21:06 UTC (permalink / raw)
  To: sisyphus

Пытаюсь тут поставить некую прогу под названием idea.
Она суть коммерческий бинарник с инсталлятором-скриптом вида

  USE.SH - InstallAnywhere (tm) UNIX Self Extractor Version 4.5.2

Скрипт исправно распаковывает архив, создает там какие-то конфиги и т.п.

А потом отваливается вот с такими сообщениями:

dirname: error while loading shared libraries: libc.so.6: cannot open 
shared object file: No such file or directory
/bin/ls: error while loading shared libraries: libpthread.so.0: cannot 
open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open 
shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open 
shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open 
shared object file: No such file or directory

hostname: error while loading shared libraries: libc.so.6: cannot open 
shared object file: No such file or directory

Removing tmp install dir: "/tmp/install.dir.12231"
rm: error while loading shared libraries: libc.so.6: cannot open shared 
object file: No such file or directory
rm: error while loading shared libraries: libc.so.6: cannot open shared 
object file: No such file or directory

То есть не срабатывает вызов самых обычных утилит. Хотя в этом же 
скрипте эти утилиты ранее вызываются много раз.

Есть подозрение, что скрипт где-то упирается в какой-то лимит (на число 
процессов, на стэк и т.п.). У меня ALT Sisyphus 20030310. На РедХат8 
скрипт работает.


Не подскажите, как лечить или хотя бы диагностировать?


-- 
------------------------------------------------------------------------
  With best regards
  Alexei V. Mezin                       mailto:alex783@hotbox.ru





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

* Re: [sisyphus] Лимит в shell-script?
  2003-04-17 21:06 [sisyphus] Лимит в shell-script? Alexei V. Mezin
@ 2003-04-17 21:50 ` Dmitry Barashev
  2003-04-17 22:09   ` Alexei V. Mezin
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Barashev @ 2003-04-17 21:50 UTC (permalink / raw)
  To: Sisyphus

Скажите, а 
#cat $scriptname | grep LD_ASSUME_KERNEL

что-нибудь выдаёт?

Дмитрий Барашев

On Птн, 2003-04-18 at 01:06, Alexei V. Mezin wrote:
> Пытаюсь тут поставить некую прогу под названием idea.
> Она суть коммерческий бинарник с инсталлятором-скриптом вида
> 
>   USE.SH - InstallAnywhere (tm) UNIX Self Extractor Version 4.5.2
> 
> Скрипт исправно распаковывает архив, создает там какие-то конфиги и т.п.
> 
> А потом отваливается вот с такими сообщениями:
> 
> dirname: error while loading shared libraries: libc.so.6: cannot open 
> shared object file: No such file or directory



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

* Re: [sisyphus] Лимит в shell-script?
  2003-04-17 21:50 ` Dmitry Barashev
@ 2003-04-17 22:09   ` Alexei V. Mezin
  2003-04-18 10:13     ` Andrei Bulava
  2003-04-18 13:06     ` Re[2]: " Dmitry Barashev
  0 siblings, 2 replies; 7+ messages in thread
From: Alexei V. Mezin @ 2003-04-17 22:09 UTC (permalink / raw)
  To: sisyphus

Dmitry Barashev wrote:
> Скажите, а 
> #cat $scriptname | grep LD_ASSUME_KERNEL
> 
> что-нибудь выдаёт?
> 

[alexei@middle-bear idea]$ cat idea-3.0.2v2.bin | grep LD_ASSUME_KERNEL
                 LD_ASSUME_KERNEL=2.2.5
                 export LD_ASSUME_KERNEL



-- 
------------------------------------------------------------------------
  With best regards
  Alexei V. Mezin                       mailto:alex783@hotbox.ru




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

* Re: [sisyphus] Лимит в shell-script?
  2003-04-17 22:09   ` Alexei V. Mezin
@ 2003-04-18 10:13     ` Andrei Bulava
  2003-04-19  8:14       ` Alexei V. Mezin
  2003-04-18 13:06     ` Re[2]: " Dmitry Barashev
  1 sibling, 1 reply; 7+ messages in thread
From: Andrei Bulava @ 2003-04-18 10:13 UTC (permalink / raw)
  To: sisyphus

On Fri, 18 Apr 2003, Alexei V. Mezin wrote:

> Dmitry Barashev wrote:
> > Скажите, а 
> > #cat $scriptname | grep LD_ASSUME_KERNEL
> > 
> > что-нибудь выдаёт?
> > 
> 
> [alexei@middle-bear idea]$ cat idea-3.0.2v2.bin | grep LD_ASSUME_KERNEL
>                  LD_ASSUME_KERNEL=2.2.5
>                  export LD_ASSUME_KERNEL

$ grep Linux

if [ `uname -s` = Linux ]
                  ^

Букву L заменить на l. После установки проделать ту же операцию над 
/usr/local/IntelliJ-IDEA-3.0.2/bin/idea

//AB1002-UANIC



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

* Re[2]: [sisyphus] Лимит в shell-script?
  2003-04-17 22:09   ` Alexei V. Mezin
  2003-04-18 10:13     ` Andrei Bulava
@ 2003-04-18 13:06     ` Dmitry Barashev
  2003-04-18 13:35       ` Станислав Макарчук
  1 sibling, 1 reply; 7+ messages in thread
From: Dmitry Barashev @ 2003-04-18 13:06 UTC (permalink / raw)
  To: sisyphus

Закомментируйте эти строчки, должно заработать. 

> [alexei@middle-bear idea]$ cat idea-3.0.2v2.bin | grep LD_ASSUME_KERNEL
>                  LD_ASSUME_KERNEL=2.2.5
>                  export LD_ASSUME_KERNEL
> 
> 
> 
> -- 
> ------------------------------------------------------------------------
>   With best regards
>   Alexei V. Mezin                       mailto:alex783@hotbox.ru
> 
> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> http://altlinux.ru/mailman/listinfo/sisyphus
> 


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

* Re: Re[2]: [sisyphus] Лимит в shell-script?
  2003-04-18 13:06     ` Re[2]: " Dmitry Barashev
@ 2003-04-18 13:35       ` Станислав Макарчук
  0 siblings, 0 replies; 7+ messages in thread
From: Станислав Макарчук @ 2003-04-18 13:35 UTC (permalink / raw)
  To: sisyphus

On Fri, 18 Apr 2003 17:06:46 +0400
"Dmitry Barashev" <dbarashev@mail.ru> wrote:

> Закомментируйте эти строчки, должно заработать. 
> 
> > [alexei@middle-bear idea]$ cat idea-3.0.2v2.bin | grep LD_ASSUME_KERNEL
> >                  LD_ASSUME_KERNEL=2.2.5
> >                  export LD_ASSUME_KERNEL
Да, дело именно в этих строчках. Несколько дней назад борол такую же проблему при инсталляции ColdFusion MX
Более подробно можете глянуть по линку http://forum.cfug.ru/go/messageview.cfm?catid=14&threadid=105
Там описаны некоторые тонкости.


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

* Re: [sisyphus] Лимит в shell-script?
  2003-04-18 10:13     ` Andrei Bulava
@ 2003-04-19  8:14       ` Alexei V. Mezin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexei V. Mezin @ 2003-04-19  8:14 UTC (permalink / raw)
  To: sisyphus

Andrei Bulava wrote:
>>[alexei@middle-bear idea]$ cat idea-3.0.2v2.bin | grep LD_ASSUME_KERNEL
>>                 LD_ASSUME_KERNEL=2.2.5
>>                 export LD_ASSUME_KERNEL
> 
> 
> $ grep Linux
> 
> if [ `uname -s` = Linux ]
>                   ^
> 
> Букву L заменить на l. После установки проделать ту же операцию над 
> /usr/local/IntelliJ-IDEA-3.0.2/bin/idea


Большое спасибо, помогло!

P.S. Мне оно не особо надо, но вот еще одного человека удалось 
пересадить на АЛЬТ :)

-- 
------------------------------------------------------------------------
  With best regards
  Alexei V. Mezin                       mailto:alex783@hotbox.ru




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

end of thread, other threads:[~2003-04-19  8:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17 21:06 [sisyphus] Лимит в shell-script? Alexei V. Mezin
2003-04-17 21:50 ` Dmitry Barashev
2003-04-17 22:09   ` Alexei V. Mezin
2003-04-18 10:13     ` Andrei Bulava
2003-04-19  8:14       ` Alexei V. Mezin
2003-04-18 13:06     ` Re[2]: " Dmitry Barashev
2003-04-18 13:35       ` Станислав Макарчук

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git