Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Running DEC binaries on alphalinux
@ 1999-05-13 13:57 James Peret
  1999-05-13 14:47 ` Brian Rerecich
  1999-05-13 15:24 ` Peter Petrakis
  0 siblings, 2 replies; 13+ messages in thread
From: James Peret @ 1999-05-13 13:57 UTC (permalink / raw)
  To: axp-list

I am a relative newbie to alphalinux and am trying to get a dec binary
to run on a pc164.  i have the dec libraries, but i still get the error 

/sbin/loader: Fatal Error: cannot map libX11.so

anyone have a clue?

James Peret
Implementation Specalist
New Technology Solutions, Inc.
Phone:	(978) 851-0801 x274
Fax:	(978) 851-0804
E-mail:	jperet@ntsi.com
	http://www.ntsi.com



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

* Re: Running DEC binaries on alphalinux
  1999-05-13 13:57 James Peret
@ 1999-05-13 14:47 ` Brian Rerecich
  1999-05-13 15:24 ` Peter Petrakis
  1 sibling, 0 replies; 13+ messages in thread
From: Brian Rerecich @ 1999-05-13 14:47 UTC (permalink / raw)
  To: axp-list

Here the obvious solution, but maybe you've already tried this.....

In /usr/shlib put libX11.so from your Tru64 UNIX box. 
also try copying /etc/svc.conf to that same location on your Tru64 UNIX
box. This works for me when trying to run Tru64 Netscape 4.51. 
Good luck....

-Brian


James Peret wrote:
> 
> I am a relative newbie to alphalinux and am trying to get a dec binary
> to run on a pc164.  i have the dec libraries, but i still get the error
> 
> /sbin/loader: Fatal Error: cannot map libX11.so
> 
> anyone have a clue?
> 
> James Peret
> Implementation Specalist
> New Technology Solutions, Inc.
> Phone:  (978) 851-0801 x274
> Fax:    (978) 851-0804
> E-mail: jperet@ntsi.com
>         http://www.ntsi.com
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
==================
Brian Rerecich    
Hardware Engineer 
==================


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

* Re: Running DEC binaries on alphalinux
  1999-05-13 13:57 James Peret
  1999-05-13 14:47 ` Brian Rerecich
@ 1999-05-13 15:24 ` Peter Petrakis
  1 sibling, 0 replies; 13+ messages in thread
From: Peter Petrakis @ 1999-05-13 15:24 UTC (permalink / raw)
  To: axp-list


On Thu, 13 May 1999, James Peret wrote:

> I am a relative newbie to alphalinux and am trying to get a dec binary
> to run on a pc164.  i have the dec libraries, but i still get the error 
> 
> /sbin/loader: Fatal Error: cannot map libX11.so

You're missing libX11.so, or you don't have the libs in /usr/shlib, or the
have the worng permissions on the file if indeed ot does exist.

Peter


 
> anyone have a clue?
> 
> James Peret
> Implementation Specalist
> New Technology Solutions, Inc.
> Phone:	(978) 851-0801 x274
> Fax:	(978) 851-0804
> E-mail:	jperet@ntsi.com
> 	http://www.ntsi.com
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

* RE: Running DEC binaries on alphalinux
@ 1999-05-13 15:59 James Peret
  0 siblings, 0 replies; 13+ messages in thread
From: James Peret @ 1999-05-13 15:59 UTC (permalink / raw)
  To: axp-list

I tried that.  i still get the same fatal error.  

>From: Brian Rerecich [mailto:rerecich@segosf.hlo.dec.com]
>Here the obvious solution, but maybe you've already tried this.....
>
>In /usr/shlib put libX11.so from your Tru64 UNIX box. 
>also try copying /etc/svc.conf to that same location on your Tru64 UNIX
>box. This works for me when trying to run Tru64 Netscape 4.51. 
>Good luck....
>
>-Brian
>
>
>James Peret wrote:
> 
> I am a relative newbie to alphalinux and am trying to get a dec binary
> to run on a pc164.  i have the dec libraries, but i still get the
error
> 
> /sbin/loader: Fatal Error: cannot map libX11.so
> 
> anyone have a clue?
> 
> James Peret
> Implementation Specalist
> New Technology Solutions, Inc.
> Phone:  (978) 851-0801 x274
> Fax:    (978) 851-0804
> E-mail: jperet@ntsi.com
>         http://www.ntsi.com
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
==================
Brian Rerecich    
Hardware Engineer 
==================

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* RE: Running DEC binaries on alphalinux
@ 1999-05-13 16:13 James Peret
  1999-05-19 20:40 ` Tuff Guy
  0 siblings, 1 reply; 13+ messages in thread
From: James Peret @ 1999-05-13 16:13 UTC (permalink / raw)
  To: axp-list

I just noticed that libx11.so is lowercase.  I cp'd it to libX11.so and
now i get
/sbin/loader: Fatal Error: cannot map libXmu.so

could someone /usr/shlib/ls -l for me?


>From: Peter Petrakis [mailto:petrakis@ARGON.stcc.mass.edu]
>On Thu, 13 May 1999, James Peret wrote:
>
> I am a relative newbie to alphalinux and am trying to get a dec binary
> to run on a pc164.  i have the dec libraries, but i still get the
error 
> 
> /sbin/loader: Fatal Error: cannot map libX11.so
>
>ou're missing libX11.so, or you don't have the libs in /usr/shlib, or
the
>have the worng permissions on the file if indeed ot does exist.
>
>Peter
>
>
> 
> anyone have a clue?
> 
> James Peret
> Implementation Specalist
> New Technology Solutions, Inc.
> Phone:	(978) 851-0801 x274
> Fax:	(978) 851-0804
> E-mail:	jperet@ntsi.com
> 	http://www.ntsi.com
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* RE: Running DEC binaries on alphalinux
@ 1999-05-13 17:34 Jemiolo, John
  0 siblings, 0 replies; 13+ messages in thread
From: Jemiolo, John @ 1999-05-13 17:34 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

You are running a 2.2 kernel right?

JJ

> ----------
> From: 	James Peret[SMTP:jperet@ntsi.com]
> Reply To: 	axp-list@redhat.com
> Sent: 	Thursday, May 13, 1999 12:13 PM
> To: 	axp-list@redhat.com
> Subject: 	RE: Running DEC binaries on alphalinux
> 
> I just noticed that libx11.so is lowercase.  I cp'd it to libX11.so and
> now i get
> /sbin/loader: Fatal Error: cannot map libXmu.so
> 
> could someone /usr/shlib/ls -l for me?
> 
> 
> >From: Peter Petrakis [mailto:petrakis@ARGON.stcc.mass.edu]
> >On Thu, 13 May 1999, James Peret wrote:
> >
> > I am a relative newbie to alphalinux and am trying to get a dec binary
> > to run on a pc164.  i have the dec libraries, but i still get the
> error 
> > 
> > /sbin/loader: Fatal Error: cannot map libX11.so
> >
> >ou're missing libX11.so, or you don't have the libs in /usr/shlib, or
> the
> >have the worng permissions on the file if indeed ot does exist.
> >
> >Peter
> >
> >
> > 
> > anyone have a clue?
> > 
> > James Peret
> > Implementation Specalist
> > New Technology Solutions, Inc.
> > Phone:	(978) 851-0801 x274
> > Fax:	(978) 851-0804
> > E-mail:	jperet@ntsi.com
> > 	http://www.ntsi.com
> > 
> > 
> > -- 
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

* RE: Running DEC binaries on alphalinux
@ 1999-05-13 19:47 James Peret
  1999-05-13 22:11 ` Peter Petrakis
  0 siblings, 1 reply; 13+ messages in thread
From: James Peret @ 1999-05-13 19:47 UTC (permalink / raw)
  To: axp-list

Good question...  

what do i need to enable in the 2.2 kernel?  
i need to build milo to match the 2.2.7 kernel, true or not true?
how can i get my current kernel configuration (i don't have a .config, i
am using the generic kernel)?
how do i get milo to recognize the backup kernel?  

thank's in advance

-----Original Message-----
From: Jemiolo, John [mailto:John.Jemiolo@compaq.com]
Sent: Thursday, May 13, 1999 1:35 PM
To: 'axp-list@redhat.com'
Subject: RE: Running DEC binaries on alphalinux


>>You are running a 2.2 kernel right?

>>JJ

> ----------
> From: 	James Peret[SMTP:jperet@ntsi.com]
> Reply To: 	axp-list@redhat.com
> Sent: 	Thursday, May 13, 1999 12:13 PM
> To: 	axp-list@redhat.com
> Subject: 	RE: Running DEC binaries on alphalinux
> 
> I just noticed that libx11.so is lowercase.  I cp'd it to libX11.so
and
> now i get
> /sbin/loader: Fatal Error: cannot map libXmu.so
> 
> could someone /usr/shlib/ls -l for me?
> 
> 
> >From: Peter Petrakis [mailto:petrakis@ARGON.stcc.mass.edu]
> >On Thu, 13 May 1999, James Peret wrote:
> >
> > I am a relative newbie to alphalinux and am trying to get a dec
binary
> > to run on a pc164.  i have the dec libraries, but i still get the
> error 
> > 
> > /sbin/loader: Fatal Error: cannot map libX11.so
> >
> >ou're missing libX11.so, or you don't have the libs in /usr/shlib, or
> the
> >have the worng permissions on the file if indeed ot does exist.
> >
> >Peter
> >
> >
> > 
> > anyone have a clue?
> > 
> > James Peret
> > Implementation Specalist
> > New Technology Solutions, Inc.
> > Phone:	(978) 851-0801 x274
> > Fax:	(978) 851-0804
> > E-mail:	jperet@ntsi.com
> > 	http://www.ntsi.com
> > 
> > 
> > -- 
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* Re: Running DEC binaries on alphalinux
  1999-05-13 19:47 James Peret
@ 1999-05-13 22:11 ` Peter Petrakis
  0 siblings, 0 replies; 13+ messages in thread
From: Peter Petrakis @ 1999-05-13 22:11 UTC (permalink / raw)
  To: axp-list

James Peret wrote:
> 
> Good question...
> 
> what do i need to enable in the 2.2 kernel?

Support for a.out / ECOFF binaries (same thing).

> i need to build milo to match the 2.2.7 kernel, true or not true?

Nope, The milo you have will do.

> how can i get my current kernel configuration (i don't have a .config, i
> am using the generic kernel)?

a .config is created in /usr/src/linux after a successfull make config
or make menuconfig

> how do i get milo to recognize the backup kernel?

Just pass it the name of that kernel in the boot string.

Example

boot sda7:/boot/vmlinux.gz root=/dev/sda7 
	This is my normal boot kernel.

  
When i want to test a new kernel I usally drop it in / and name it
vmtest.gz.
So now my boot string would be.

boot sda7:vmtest.gz root=/dev/sda7


Peter


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

* Re: Running DEC binaries on alphalinux
  1999-05-13 16:13 Running DEC binaries on alphalinux James Peret
@ 1999-05-19 20:40 ` Tuff Guy
  1999-05-20  3:53   ` Jeff Lessem
  0 siblings, 1 reply; 13+ messages in thread
From: Tuff Guy @ 1999-05-19 20:40 UTC (permalink / raw)
  To: axp-list

James Peret wrote:
> 
> I just noticed that libx11.so is lowercase.  I cp'd it to libX11.so and
> now i get
> /sbin/loader: Fatal Error: cannot map libXmu.so
> 
> could someone /usr/shlib/ls -l for me?
> 
This is the same problem as before. Do a ldd on the app you want to run to get
a list of libs.
Compare them to your /usr/shlib. Case matters so check libXmu.so for existance
then capitalization. I don't know how you copied your libs over in the first
place to get libx11.so out of libX11.so. All you had to do was disable prompts
in the ftp session, then mget * to the corresponding location on the linux
box. I don't think execution permission is necessary but just in case : chmod
0777 * in the shlib dir. I believe your kernal may already support a.out since
it is successfully calling loader and locating the libs if they are there. But
a kernel rebuild never hurts, while you're at it get the latest stable
release...what is it 2.2.9 now or something and the ac patch if available.
> >
> >
> >
> > anyone have a clue?
> >
> > --


-- 
---Tuff Guy....

I'm as Tuff as they come!!


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

* Re: Running DEC binaries on alphalinux
@ 1999-05-19 22:26 clc31
  1999-05-20  0:45 ` Michal Jaegermann
  0 siblings, 1 reply; 13+ messages in thread
From: clc31 @ 1999-05-19 22:26 UTC (permalink / raw)
  To: axp-list

About using ldd on a DU executable, do I need a new version of ldd
to get a list of shlibs used by the executable (I'm currently using glibc's 
2.0.7)?  I get the following:

$ file netscape
netscape: COFF format alpha executable paged dynamically linked stripped 
- version 3.11-10
$ ldd netscape
        not a dynamic executable

Does it only work for dynamically linked ELF binaries?  Or what?

-Chaz


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

* Re: Running DEC binaries on alphalinux
  1999-05-19 22:26 clc31
@ 1999-05-20  0:45 ` Michal Jaegermann
  0 siblings, 0 replies; 13+ messages in thread
From: Michal Jaegermann @ 1999-05-20  0:45 UTC (permalink / raw)
  To: axp-list

clc31@cornell.edu wrote:
> 
> About using ldd on a DU executable,

'ldd' is a shell script in which an execution starts somewhat like this
(could be slightly different with a different library versions):

RTLD=/lib/ld-linux.so.2
RELOCS=

while test $# -gt 0; do
  case "$1" in
  --v | --ve | --ver | --vers | --versi | --versio | --version)
    echo 'ldd (GNU libc) 2.0.7
.....

It is not likely to do you very good on "alien" executables in ECOFF
format. :-)

> do I need a new version of ldd

No.

> to get a list of shlibs used by the executable

Use 'strings' and filter out an output a bit. 'grep lib | sort | uniq'
should be good enough;  or grep for '\.so'.

  --mj


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

* Re: Running DEC binaries on alphalinux
  1999-05-19 20:40 ` Tuff Guy
@ 1999-05-20  3:53   ` Jeff Lessem
  1999-05-20 18:06     ` Tuff Guy
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Lessem @ 1999-05-20  3:53 UTC (permalink / raw)
  To: axp-list

Tuff Guy <wd@unx.dec.com> writes:

> This is the same problem as before. Do a ldd on the app you want to run to get
> a list of libs.

The command to run under Tru 64 (aka Digital Unix aka OSF/1) is 
"odump -Dl <binary>" and this will output the list of libraries that
are required.  The libraries for Netscape 4.51 are:

                        ***LIBRARY LIST SECTION***
        Name             Time-Stamp        CheckSum   Flags Version
/usr/local/netscape/netscape:
        libXm.so     Dec  9 00:23:20 1997 0xa55f6d32     0 motif1.2
        libXmu.so    Dec  8 23:13:36 1997 0x3bf3a33d     0 
        libXt.so     Dec  8 23:12:18 1997 0x10dd9a17     0 
        libX11.so    Dec  8 22:49:39 1997 0xeb5251bf     0 
        libXext.so   Dec  8 23:08:51 1997 0xafcb84d5     0 
        libdnet_stub.so Dec 29 16:16:25 1997 0x9408a36b     0 osf.1
        libm.so      Dec 29 16:09:53 1997 0xf29b0962     0 osf.1
        libots.so    Dec 29 16:13:40 1997 0x0876eb23     0 
        libc.so      Dec 29 16:09:30 1997 0x5e955f9b     0 osf.1
        libcxx.so    Dec 29 16:13:41 1997 0x1da51211     0 V4.0.1
        libexc.so    Dec 29 16:09:57 1997 0x3184247e     0 osf.1

-- 
Jeff Lessem.


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

* Re: Running DEC binaries on alphalinux
  1999-05-20  3:53   ` Jeff Lessem
@ 1999-05-20 18:06     ` Tuff Guy
  0 siblings, 0 replies; 13+ messages in thread
From: Tuff Guy @ 1999-05-20 18:06 UTC (permalink / raw)
  To: axp-list

My bad, slight slip up. I forgot it was ECOFF....duh?

Jeff Lessem wrote:
> 
> Tuff Guy <wd@unx.dec.com> writes:
> 
> > This is the same problem as before. Do a ldd on the app you want to run to get
> > a list of libs.
> 
> The command to run under Tru 64 (aka Digital Unix aka OSF/1) is
> "odump -Dl <binary>" and this will output the list of libraries that
> are required.  The libraries for Netscape 4.51 are:
> 
>                         ***LIBRARY LIST SECTION***
>         Name             Time-Stamp        CheckSum   Flags Version
> /usr/local/netscape/netscape:
>         libXm.so     Dec  9 00:23:20 1997 0xa55f6d32     0 motif1.2
>         libXmu.so    Dec  8 23:13:36 1997 0x3bf3a33d     0
>         libXt.so     Dec  8 23:12:18 1997 0x10dd9a17     0
>         libX11.so    Dec  8 22:49:39 1997 0xeb5251bf     0
>         libXext.so   Dec  8 23:08:51 1997 0xafcb84d5     0
>         libdnet_stub.so Dec 29 16:16:25 1997 0x9408a36b     0 osf.1
>         libm.so      Dec 29 16:09:53 1997 0xf29b0962     0 osf.1
>         libots.so    Dec 29 16:13:40 1997 0x0876eb23     0
>         libc.so      Dec 29 16:09:30 1997 0x5e955f9b     0 osf.1
>         libcxx.so    Dec 29 16:13:41 1997 0x1da51211     0 V4.0.1
>         libexc.so    Dec 29 16:09:57 1997 0x3184247e     0 osf.1
> 
> --
> Jeff Lessem.
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
---Tuff Guy....

I'm as Tuff as they come!!


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

end of thread, other threads:[~1999-05-20 18:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-13 16:13 Running DEC binaries on alphalinux James Peret
1999-05-19 20:40 ` Tuff Guy
1999-05-20  3:53   ` Jeff Lessem
1999-05-20 18:06     ` Tuff Guy
  -- strict thread matches above, loose matches on Subject: below --
1999-05-19 22:26 clc31
1999-05-20  0:45 ` Michal Jaegermann
1999-05-13 19:47 James Peret
1999-05-13 22:11 ` Peter Petrakis
1999-05-13 17:34 Jemiolo, John
1999-05-13 15:59 James Peret
1999-05-13 13:57 James Peret
1999-05-13 14:47 ` Brian Rerecich
1999-05-13 15:24 ` Peter Petrakis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox