ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] glibc2.3 dinamicaly linked
@ 2004-01-05  5:44 Andrey A. Jelnin
  2004-01-05 11:46 ` Grigory Tuboltsev
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey A. Jelnin @ 2004-01-05  5:44 UTC (permalink / raw)
  To: community

Есть ли способ запустить бинарник динамически слинкованный с glibc2.3 в ALM 2.2 ?

-- 
Written under -< Nightwish - Nymphomaniac Fantasia >- playing in xmms
----
Jaa mata,
Net administrator JSC "Giprosvyaz"      Andrey A. Jelnin aka BsoD 
e-mail: <bsod@gs7.ru>
jabber: bsod@jabber.ru
icq: 112600159


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

* Re: [Comm] glibc2.3 dinamicaly linked
  2004-01-05  5:44 [Comm] glibc2.3 dinamicaly linked Andrey A. Jelnin
@ 2004-01-05 11:46 ` Grigory Tuboltsev
  2004-01-05 12:08   ` Andrey A. Jelnin
  0 siblings, 1 reply; 11+ messages in thread
From: Grigory Tuboltsev @ 2004-01-05 11:46 UTC (permalink / raw)
  To: community

Цитирую из архива:
"Может попробовать поставить glibc 2.3 куда-нибудь в /usr/local и 
запускать эту софтину с LD_PRELOAD? Мне кажется, должно получиться..."

> Есть ли способ запустить бинарник динамически слинкованный с glibc2.3
> в ALM 2.2 ?


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

* Re: [Comm] glibc2.3 dinamicaly linked
  2004-01-05 11:46 ` Grigory Tuboltsev
@ 2004-01-05 12:08   ` Andrey A. Jelnin
  2004-01-05 17:07     ` Vitaly Lipatov
  2004-01-06 12:16     ` Grigory Tuboltsev
  0 siblings, 2 replies; 11+ messages in thread
From: Andrey A. Jelnin @ 2004-01-05 12:08 UTC (permalink / raw)
  To: community

> "Может попробовать поставить glibc 2.3 куда-нибудь в /usr/local и 
> запускать эту софтину с LD_PRELOAD? Мне кажется, должно получиться..."
Можно капельку поподробнее - LD_PRELOAD и что ?

-- 
Silence in xmms
----
Jaa mata,
Net administrator JSC "Giprosvyaz"      Andrey A. Jelnin aka BsoD 
e-mail: <bsod@gs7.ru>
jabber: bsod@jabber.ru
icq: 112600159


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

* Re: [Comm] glibc2.3 dinamicaly linked
  2004-01-05 12:08   ` Andrey A. Jelnin
@ 2004-01-05 17:07     ` Vitaly Lipatov
  2004-01-06 12:16     ` Grigory Tuboltsev
  1 sibling, 0 replies; 11+ messages in thread
From: Vitaly Lipatov @ 2004-01-05 17:07 UTC (permalink / raw)
  To: community

On 5 Январь 2004 15:08, Andrey A. Jelnin wrote:
> > "Может попробовать поставить glibc 2.3 куда-нибудь в
> > /usr/local и запускать эту софтину с LD_PRELOAD? Мне
> > кажется, должно получиться..."
>
> Можно капельку поподробнее - LD_PRELOAD и что ?
LD_PRELOAD=lalal/ваша_библиотека_glic название_программы 
-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


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

* Re: [Comm] glibc2.3 dinamicaly linked
  2004-01-05 12:08   ` Andrey A. Jelnin
  2004-01-05 17:07     ` Vitaly Lipatov
@ 2004-01-06 12:16     ` Grigory Tuboltsev
  2004-01-08  9:22       ` Andrey A. Jelnin
  1 sibling, 1 reply; 11+ messages in thread
From: Grigory Tuboltsev @ 2004-01-06 12:16 UTC (permalink / raw)
  To: community

Если получится, сообщите, ок ?	


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

* Re: [Comm] glibc2.3 dinamicaly linked
  2004-01-06 12:16     ` Grigory Tuboltsev
@ 2004-01-08  9:22       ` Andrey A. Jelnin
  2004-01-08 18:06         ` [Comm] " Alexey Tourbin
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey A. Jelnin @ 2004-01-08  9:22 UTC (permalink / raw)
  To: community

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

> Если получится, сообщите, ок ?	
Дык вот фиг вам - не получается
Я собрал в отдельной директории glibc 2.3.2 
и запускаю приложение аттаченным врапером - и мне ошибка 
/lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libdl.so.2)

Куда копать? - google курил - не помогло (

-- 
Silence in xmms
----
Jaa mata,
Net administrator JSC "Giprosvyaz"      Andrey A. Jelnin aka BsoD 
e-mail: <bsod@gs7.ru>
jabber: bsod@jabber.ru
icq: 112600159

[-- Attachment #2: runnewglib --]
[-- Type: application/octet-stream, Size: 309 bytes --]

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

* [Comm] Re: glibc2.3 dinamicaly linked
  2004-01-08  9:22       ` Andrey A. Jelnin
@ 2004-01-08 18:06         ` Alexey Tourbin
  2004-01-08 18:10           ` Alexey Tourbin
  2004-01-09 23:52           ` Dmitry V. Levin
  0 siblings, 2 replies; 11+ messages in thread
From: Alexey Tourbin @ 2004-01-08 18:06 UTC (permalink / raw)
  To: community

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

On Thu, Jan 08, 2004 at 01:22:01PM +0400, Andrey A. Jelnin wrote:
> > Если получится, сообщите, ок ?	
> Дык вот фиг вам - не получается
> Я собрал в отдельной директории glibc 2.3.2 
> и запускаю приложение аттаченным врапером - и мне ошибка 
> /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libdl.so.2)
> 
> Куда копать? - google курил - не помогло (

> #!/bin/bash
> 
> if [ $# -eq 0 ] ; then
>   echo "Usage: $0 <glibc-2.3.2-prog> <args> ..." 1>&2
> exit 1
> fi
>       
> LD_LIBRARY_PATH="/home/bsod/share/glibc232/lib" \
> LD_PRELOAD="/home/bsod/share/glibc232/lib/ld-2.3.2.so /home/bsod/share/glibc232/lib/libc.so.6 /home/bsod/share/glibc232/lib/ld-linux.so.2" \
> "$@"

Попробуйте _просто_
LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib "$@"

Если не получается, покажите
LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib ldd glibc-2.3.2-prog


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* [Comm] Re: glibc2.3 dinamicaly linked
  2004-01-08 18:06         ` [Comm] " Alexey Tourbin
@ 2004-01-08 18:10           ` Alexey Tourbin
  2004-01-09  5:05             ` Andrey A. Jelnin
  2004-01-09 23:52           ` Dmitry V. Levin
  1 sibling, 1 reply; 11+ messages in thread
From: Alexey Tourbin @ 2004-01-08 18:10 UTC (permalink / raw)
  To: community

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

On Thu, Jan 08, 2004 at 09:06:45PM +0300, Alexey Tourbin wrote:
> > LD_LIBRARY_PATH="/home/bsod/share/glibc232/lib" \
> > LD_PRELOAD="/home/bsod/share/glibc232/lib/ld-2.3.2.so /home/bsod/share/glibc232/lib/libc.so.6 /home/bsod/share/glibc232/lib/ld-linux.so.2" \
> > "$@"
> 
> Попробуйте _просто_
> LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib "$@"
> 
> Если не получается, покажите
> LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib ldd glibc-2.3.2-prog
> 

Вдогонку: вот так точно должно получиться.

#!/bin/sh
glibc23=/home/bsod/share/glibc232/lib
export LD_LIBRARY_PATH=$glibc23
exec $glibc23/ld-linux.so.2 "$@"

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] Re: glibc2.3 dinamicaly linked
  2004-01-08 18:10           ` Alexey Tourbin
@ 2004-01-09  5:05             ` Andrey A. Jelnin
  0 siblings, 0 replies; 11+ messages in thread
From: Andrey A. Jelnin @ 2004-01-09  5:05 UTC (permalink / raw)
  To: community

> > Попробуйте _просто_
> > LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib "$@"
../epsxe160/epsxe: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libdl.so.2)
../epsxe160/epsxe: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libc.so.6)

> > Если не получается, покажите
> > LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib ldd glibc-2.3.2-prog
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libdl.so.2)
/bin/sh: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libc.so.6)

> Вдогонку: вот так точно должно получиться.
> 
> #!/bin/sh
> glibc23=/home/bsod/share/glibc232/lib
> export LD_LIBRARY_PATH=$glibc23
> exec $glibc23/ld-linux.so.2 "$@"
../epsxe160/epsxe: error while loading shared libraries: ../epsxe160/epsxe: ELF file ABI version invalid

Заколдовано?
-- 
Silence in xmms
----
Jaa mata,
Net administrator JSC "Giprosvyaz"      Andrey A. Jelnin aka BsoD 
e-mail: <bsod@gs7.ru>
jabber: bsod@jabber.ru
icq: 112600159


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

* Re: [Comm] Re: glibc2.3 dinamicaly linked
  2004-01-08 18:06         ` [Comm] " Alexey Tourbin
  2004-01-08 18:10           ` Alexey Tourbin
@ 2004-01-09 23:52           ` Dmitry V. Levin
  2004-01-13  5:08             ` Andrey A. Jelnin
  1 sibling, 1 reply; 11+ messages in thread
From: Dmitry V. Levin @ 2004-01-09 23:52 UTC (permalink / raw)
  To: ALT Linux general discussion list

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

On Thu, Jan 08, 2004 at 09:06:45PM +0300, Alexey Tourbin wrote:
> On Thu, Jan 08, 2004 at 01:22:01PM +0400, Andrey A. Jelnin wrote:
> > > Если получится, сообщите, ок ?	
> > Дык вот фиг вам - не получается
> > Я собрал в отдельной директории glibc 2.3.2 
> > и запускаю приложение аттаченным врапером - и мне ошибка 
> > /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /home/bsod/share/glibc232/lib/libdl.so.2)
> > 
> > Куда копать? - google курил - не помогло (
> 
> > #!/bin/bash
> > 
> > if [ $# -eq 0 ] ; then
> >   echo "Usage: $0 <glibc-2.3.2-prog> <args> ..." 1>&2
> > exit 1
> > fi
> >       
> > LD_LIBRARY_PATH="/home/bsod/share/glibc232/lib" \
> > LD_PRELOAD="/home/bsod/share/glibc232/lib/ld-2.3.2.so /home/bsod/share/glibc232/lib/libc.so.6 /home/bsod/share/glibc232/lib/ld-linux.so.2" \
> > "$@"
> 
> Попробуйте _просто_
> LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib "$@"
> 
> Если не получается, покажите
> LD_LIBRARY_PATH=/home/bsod/share/glibc232/lib ldd glibc-2.3.2-prog

Нет, это бесполезно, нужен ld-linux.so.2 от этой самой glibc 2.3.2.

Попробуйте так:
PREFIX=/home/bsod/share/glibc232/lib
$PREFIX/ld-linux.so.2 --library-path $PREFIX "$@"


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] Re: glibc2.3 dinamicaly linked
  2004-01-09 23:52           ` Dmitry V. Levin
@ 2004-01-13  5:08             ` Andrey A. Jelnin
  0 siblings, 0 replies; 11+ messages in thread
From: Andrey A. Jelnin @ 2004-01-13  5:08 UTC (permalink / raw)
  To: community

> Попробуйте так:
> PREFIX=/home/bsod/share/glibc232/lib
> $PREFIX/ld-linux.so.2 --library-path $PREFIX "$@"

Еще - веселее !
ELF file ABI version invalid
Дас из вас ? Вроде было написано что прога под Х86 linux 

-- 
Silence in xmms
----
Jaa mata,
Net administrator JSC "Giprosvyaz"      Andrey A. Jelnin aka BsoD 
e-mail: <bsod@gs7.ru>
jabber: bsod@jabber.ru
icq: 112600159


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

end of thread, other threads:[~2004-01-13  5:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05  5:44 [Comm] glibc2.3 dinamicaly linked Andrey A. Jelnin
2004-01-05 11:46 ` Grigory Tuboltsev
2004-01-05 12:08   ` Andrey A. Jelnin
2004-01-05 17:07     ` Vitaly Lipatov
2004-01-06 12:16     ` Grigory Tuboltsev
2004-01-08  9:22       ` Andrey A. Jelnin
2004-01-08 18:06         ` [Comm] " Alexey Tourbin
2004-01-08 18:10           ` Alexey Tourbin
2004-01-09  5:05             ` Andrey A. Jelnin
2004-01-09 23:52           ` Dmitry V. Levin
2004-01-13  5:08             ` Andrey A. Jelnin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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