ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] 32bit ELF on 64bit system
@ 2011-09-24 14:29 Yuriy Shirokov
  2011-09-24 18:20 ` Michael Shigorin
  2011-09-24 23:08 ` [sisyphus] Google Earth (was: 32bit ELF on 64bit system) Yuriy Shirokov
  0 siblings, 2 replies; 8+ messages in thread
From: Yuriy Shirokov @ 2011-09-24 14:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Доброго времени суток!

А как в Сизифе нынче принято запускать 32-битные приложения?

На форуме народ вроде как просто запускает после установки 32-битных
библиотек:
http://forum.altlinux.org/index.php/topic,8845.0.html
http://forum.altlinux.org/index.php/topic,9572.0.html

А у меня почему-то так не получается:
$ ./googleearth
./googleearth: line 43: ./googleearth-bin: Нет такого файла или каталога

- -- 
С уважением,
Ю.А.Широков.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk596VsACgkQKZtDzcL0NsPR4wCgl+AtTSlzyG5Naln2V6fXL/to
EeUAn0/5TPwaycLpyQ+CBO47aK50mp6f
=D9NE
-----END PGP SIGNATURE-----


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

* Re: [sisyphus] 32bit ELF on 64bit system
  2011-09-24 14:29 [sisyphus] 32bit ELF on 64bit system Yuriy Shirokov
@ 2011-09-24 18:20 ` Michael Shigorin
  2011-09-24 18:43   ` Yuriy Shirokov
  2011-09-24 22:03   ` Yuriy Shirokov
  2011-09-24 23:08 ` [sisyphus] Google Earth (was: 32bit ELF on 64bit system) Yuriy Shirokov
  1 sibling, 2 replies; 8+ messages in thread
From: Michael Shigorin @ 2011-09-24 18:20 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Sat, Sep 24, 2011 at 06:29:49PM +0400, Yuriy Shirokov wrote:
> А у меня почему-то так не получается:
> $ ./googleearth
> ./googleearth: line 43: ./googleearth-bin: Нет такого файла или каталога

strace -ff ./googleearth-bin

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [sisyphus] 32bit ELF on 64bit system
  2011-09-24 18:20 ` Michael Shigorin
@ 2011-09-24 18:43   ` Yuriy Shirokov
  2011-09-24 19:31     ` Michael Shigorin
  2011-09-24 22:03   ` Yuriy Shirokov
  1 sibling, 1 reply; 8+ messages in thread
From: Yuriy Shirokov @ 2011-09-24 18:43 UTC (permalink / raw)
  To: shigorin, ALT Linux Sisyphus discussions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24.09.2011 22:20, Michael Shigorin wrote:
> On Sat, Sep 24, 2011 at 06:29:49PM +0400, Yuriy Shirokov wrote:
>> А у меня почему-то так не получается:
>> $ ./googleearth
>> ./googleearth: line 43: ./googleearth-bin: Нет такого файла или каталога
> strace -ff ./googleearth-bin

$ strace -ff ./googleearth-bin
execve("./googleearth-bin", ["./googleearth-bin"], [/* 55 vars */]) = -1
ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7ff9eeefc000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such
file or directory
) = 40
close(3)                                = 0
munmap(0x7ff9eeefc000, 4096)            = 0
exit_group(1)                           = ?

- -- 
С уважением,
Ю.А.Широков.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5+JOwACgkQKZtDzcL0NsPeggCgpv3rfHA4NlWTaU8Ba9EL6PEm
OjkAmgJL3d2J56IvIkRELfNKKiJAvXgo
=sViS
-----END PGP SIGNATURE-----


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

* Re: [sisyphus] 32bit ELF on 64bit system
  2011-09-24 18:43   ` Yuriy Shirokov
@ 2011-09-24 19:31     ` Michael Shigorin
  2011-09-24 19:52       ` Yuriy Shirokov
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Shigorin @ 2011-09-24 19:31 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Sat, Sep 24, 2011 at 10:43:58PM +0400, Yuriy Shirokov wrote:
> $ strace -ff ./googleearth-bin
> execve("./googleearth-bin", ["./googleearth-bin"], [/* 55 vars */]) = -1
> ENOENT (No such file or directory)

А что про него говорят file и ldd?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [sisyphus] 32bit ELF on 64bit system
  2011-09-24 19:31     ` Michael Shigorin
@ 2011-09-24 19:52       ` Yuriy Shirokov
  0 siblings, 0 replies; 8+ messages in thread
From: Yuriy Shirokov @ 2011-09-24 19:52 UTC (permalink / raw)
  To: shigorin, ALT Linux Sisyphus discussions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24.09.2011 23:31, Michael Shigorin wrote:
> А что про него говорят file и ldd?

$ file googleearth-bin
googleearth-bin: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15,
stripped

$ ldd googleearth-bin
        linux-gate.so.1 =>  (0xf77cb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7776000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7771000)
        libgoogleearth_free.so => not found
        libQtCore.so.4 => not found
        libQtGui.so.4 => not found
        libQtNetwork.so.4 => not found
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf7740000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf76b8000)
        libcurl.so.4 => not found
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf7597000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf758d000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xf757d000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xf7523000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf74b5000)
        librt.so.1 => /lib/librt.so.1 (0xf74ac000)
        libQtWebKit.so.4 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf73c0000)
        libm.so.6 => /lib/libm.so.6 (0xf7396000)
        libc.so.6 => /lib/libc.so.6 (0xf7232000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7215000)
        /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77cc000)
        libexpat.so.1 => /lib/libexpat.so.1 (0xf71e9000)
        libz.so.1 => /lib/libz.so.1 (0xf71d2000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf71b8000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf71b4000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf71ae000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf71a7000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xf71a4000)
        libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xf7192000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xf7176000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf716b000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf7166000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf7160000)

[uri@serpent free]$ LD_LIBRARY_PATH=. ldd googleearth-bin
        linux-gate.so.1 =>  (0xf77ca000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7775000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7770000)
        libgoogleearth_free.so => ./libgoogleearth_free.so (0xf7693000)
        libQtCore.so.4 => ./libQtCore.so.4 (0xf7399000)
        libQtGui.so.4 => ./libQtGui.so.4 (0xf692d000)
        libQtNetwork.so.4 => ./libQtNetwork.so.4 (0xf6801000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf67d1000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf6749000)
        libcurl.so.4 => ./libcurl.so.4 (0xf6716000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf65f5000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf65eb000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xf65db000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xf6581000)
        libGLU.so.1 => ./libGLU.so.1 (0xf6503000)
        librt.so.1 => /lib/librt.so.1 (0xf64f9000)
        libQtWebKit.so.4 => ./libQtWebKit.so.4 (0xf54f7000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf540c000)
        libm.so.6 => /lib/libm.so.6 (0xf53e2000)
        libc.so.6 => /lib/libc.so.6 (0xf527e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf5260000)
        /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77cb000)
        libIGCore.so => ./libIGCore.so (0xf5170000)
        libIGUtils.so => ./libIGUtils.so (0xf5148000)
        libapiloader.so => ./libapiloader.so (0xf5144000)
        libauth.so => ./libauth.so (0xf50dc000)
        libbase.so => ./libbase.so (0xf5001000)
        libcommon.so => ./libcommon.so (0xf4f6d000)
        libcommon_gui.so => ./libcommon_gui.so (0xf4f56000)
        libcommon_platform.so => ./libcommon_platform.so (0xf4f51000)
        libcommon_webbrowser.so => ./libcommon_webbrowser.so (0xf4f0b000)
        libcomponentframework.so => ./libcomponentframework.so (0xf4f03000)
        libgeobase.so => ./libgeobase.so (0xf4c1b000)
        libgeobaseutils.so => ./libgeobaseutils.so (0xf4bd2000)
        libge_net.so => ./libge_net.so (0xf4b88000)
        libmath.so => ./libmath.so (0xf4b2b000)
        libmoduleframework.so => ./libmoduleframework.so (0xf4b1d000)
        libport.so => ./libport.so (0xf4b14000)
        librender.so => ./librender.so (0xf4abe000)
        libreporting.so => ./libreporting.so (0xf4a99000)
        libsgutil.so => ./libsgutil.so (0xf4987000)
        libspatial.so => ./libspatial.so (0xf47ba000)
        libz.so.1 => /lib/libz.so.1 (0xf47a3000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xf479b000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xf4783000)
        libexpat.so.1 => /lib/libexpat.so.1 (0xf4758000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf473d000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf4739000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf4733000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf472d000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xf472a000)
        libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xf4717000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xf46fb000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf46f0000)
        libIGMath.so => ./libIGMath.so (0xf46a8000)
        libfusioncommon.so => ./libfusioncommon.so (0xf46a2000)
        libIGAttrs.so => ./libIGAttrs.so (0xf463a000)
        libIGGfx.so => ./libIGGfx.so (0xf42b5000)
        libIGSg.so => ./libIGSg.so (0xf41af000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xf41aa000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf41a6000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf419f000)

- -- 
С уважением,
Ю.А.Широков.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5+NQMACgkQKZtDzcL0NsPUEQCgoP0Nt7s2IWHyGg0btJah1TwM
lScAniSxsW5Mrtoram2bYvTlFGJnirU6
=R2uK
-----END PGP SIGNATURE-----


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

* Re: [sisyphus] 32bit ELF on 64bit system
  2011-09-24 18:20 ` Michael Shigorin
  2011-09-24 18:43   ` Yuriy Shirokov
@ 2011-09-24 22:03   ` Yuriy Shirokov
  1 sibling, 0 replies; 8+ messages in thread
From: Yuriy Shirokov @ 2011-09-24 22:03 UTC (permalink / raw)
  To: shigorin, ALT Linux Sisyphus discussions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24.09.2011 22:20, Michael Shigorin wrote:
> On Sat, Sep 24, 2011 at 06:29:49PM +0400, Yuriy Shirokov wrote:
>> А у меня почему-то так не получается:
>> $ ./googleearth
>> ./googleearth: line 43: ./googleearth-bin: Нет такого файла или каталога
> 
> strace -ff ./googleearth-bin

Вылечилось по рецепту отсюда:
http://slackblogs.blogspot.com/2010/12/installing-google-earth-6-on-slackware.html

Создал симлинк
/lib/ld-lsb.so.3 -> /lib/ld-linux.so.2

После этого Google Earth запускается. Но не видит сеть.

Как бы сделать так, чтобы он её всё-таки увидел?

- -- 
С уважением,
Ю.А.Широков.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5+U8cACgkQKZtDzcL0NsPBkwCeOdqNLvoFBqDEdCTH5VQMZ0/3
SqcAnjPnjE1W28rfJTynAZ0C5N3a+tq2
=F98T
-----END PGP SIGNATURE-----


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

* [sisyphus] Google Earth (was: 32bit ELF on 64bit system)
  2011-09-24 14:29 [sisyphus] 32bit ELF on 64bit system Yuriy Shirokov
  2011-09-24 18:20 ` Michael Shigorin
@ 2011-09-24 23:08 ` Yuriy Shirokov
  2011-09-26 11:29   ` Sergey V Turchin
  1 sibling, 1 reply; 8+ messages in thread
From: Yuriy Shirokov @ 2011-09-24 23:08 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24.09.2011 18:29, Yuriy Shirokov wrote:
> $ ./googleearth
> ./googleearth: line 43: ./googleearth-bin: Нет такого файла или каталога

Проблему с сетью удалось решить абсолютно шаманским способом: запустив
GE от рута, а потом от обычного пользователя.

Теперь GE запускается и ходит в Сеть, но вместо главного окна (где,
собственно, должны быть спутниковые снимки) показывает чёрный (иногда
серый) прямоугольник.

По описанию этой проблемы гуглятся несколько решений (сменить права на
конфиги, указать в qt.conf из рабочего каталога GE путь к дистрибутивным
плагинам Qt, собрать и прописать в LD_PRELOAD код с неким хитрым хаком),
ни одно из них мне не помогло.

У кого-нибудь GE на 64-битной системе работает?

- -- 
С уважением,
Ю.А.Широков.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5+Yt0ACgkQKZtDzcL0NsP1mACgjzB4DxNbu3eSYKcSE8LXBkxb
zHwAn2aCTwiR5B9MQXB/9OJQIrqAtPk7
=X/A0
-----END PGP SIGNATURE-----


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

* Re: [sisyphus] Google Earth (was: 32bit ELF on 64bit system)
  2011-09-24 23:08 ` [sisyphus] Google Earth (was: 32bit ELF on 64bit system) Yuriy Shirokov
@ 2011-09-26 11:29   ` Sergey V Turchin
  0 siblings, 0 replies; 8+ messages in thread
From: Sergey V Turchin @ 2011-09-26 11:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

On 25 сентября 2011 03:08:14 Yuriy Shirokov wrote:

[...]
> Теперь GE запускается и ходит в Сеть, но вместо главного окна (где,
> собственно, должны быть спутниковые снимки) показывает чёрный (иногда
> серый) прямоугольник.
Возможно, ему не хватает
/usr/lib/qt4/plugins/imageformats/libqjpeg.so
Можно руками взять из пакета libqt4-gui.

[...]

-- 
Regards, Sergey.       ALT Linux, http://www.altlinux.ru/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-09-26 11:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-24 14:29 [sisyphus] 32bit ELF on 64bit system Yuriy Shirokov
2011-09-24 18:20 ` Michael Shigorin
2011-09-24 18:43   ` Yuriy Shirokov
2011-09-24 19:31     ` Michael Shigorin
2011-09-24 19:52       ` Yuriy Shirokov
2011-09-24 22:03   ` Yuriy Shirokov
2011-09-24 23:08 ` [sisyphus] Google Earth (was: 32bit ELF on 64bit system) Yuriy Shirokov
2011-09-26 11:29   ` Sergey V Turchin

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