Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Em86 + glibc2
@ 1998-10-25  9:14 Christos Ricudis
  1998-10-26 16:40 ` Jim Paradis
  1998-10-27  0:31 ` Bibek Sahu
  0 siblings, 2 replies; 3+ messages in thread
From: Christos Ricudis @ 1998-10-25  9:14 UTC (permalink / raw)
  To: axp-list

Hello All!

I installed em86 on an UX2 based system running RedHat 5.1. Statically linked
binaries work fine, dynamically linked libc.so.5 based binaries work fine, but
I cannot get GNU libc-linked binaries to work. I installed libc.so.6 and ld-
linux.so.2 from an RedHat/intel system, but trying to run a binary results
in :

[root@dias ricudis]# ./ls
./ls: error in loading shared libraries
libc.so.6: ELF load command alignment not page-aligned

By strace-ing the execution, I notice that ld-linux.so.2 looks for its
libraries in /lib and /usr/lib. Do I need a modified ld-linux.so.2 (to look in
/usr/x86/...) and intel libc.so.6, and if yes what modifications should be
done to libc.6 to correct the page-alignment problem?

Thanks!

--
Christos Ricudis
"Windows has detected that a gnat has farted near your computer. Press any
 key to reboot". - anonymous in ASR.    


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

* Re: Em86 + glibc2
  1998-10-25  9:14 Em86 + glibc2 Christos Ricudis
@ 1998-10-26 16:40 ` Jim Paradis
  1998-10-27  0:31 ` Bibek Sahu
  1 sibling, 0 replies; 3+ messages in thread
From: Jim Paradis @ 1998-10-26 16:40 UTC (permalink / raw)
  To: axp-list

> By strace-ing the execution, I notice that ld-linux.so.2 looks for its
> libraries in /lib and /usr/lib. Do I need a modified ld-linux.so.2 (to look in
> /usr/x86/...) and intel libc.so.6, and if yes what modifications should be
> done to libc.6 to correct the page-alignment problem?

Exactly.  That's why I distribute an srpm for my hacked-up versions of
ld-linux, ldd, and ldconfig.

--
Jim Paradis (paradis@linux01.hlo.dec.com)     "The early bird gets the worm.
Compaq Computer Corporation		       If you want something else for
(508)841-3243				       breakfast, get up later."
http://www.tiac.net/users/jrp/index.html


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

* Re: Em86 + glibc2
  1998-10-25  9:14 Em86 + glibc2 Christos Ricudis
  1998-10-26 16:40 ` Jim Paradis
@ 1998-10-27  0:31 ` Bibek Sahu
  1 sibling, 0 replies; 3+ messages in thread
From: Bibek Sahu @ 1998-10-27  0:31 UTC (permalink / raw)
  To: axp-list


	The reason for the error is that it's trying to load
/lib/libc.so.6 which more than likely is your alpha binary.  You're
correct about needing a copy of ld-linux.so.2 that searches in
/usr/x86/lib instead of /lib.  I actually have such a thing on my machine,
but I seem to have lost the patches to build it.  This is a problem as the
binary I have always segfaults. :-(

	If you get it working, lemme know.  'Til then, I have some ideas
(hacks) I'm going to try out; I'll let you know if any of 'em work.

- Bob

On Sun, 25 Oct 1998, Christos Ricudis wrote:

> Hello All!
> 
> I installed em86 on an UX2 based system running RedHat 5.1. Statically linked
> binaries work fine, dynamically linked libc.so.5 based binaries work fine, but
> I cannot get GNU libc-linked binaries to work. I installed libc.so.6 and ld-
> linux.so.2 from an RedHat/intel system, but trying to run a binary results
> in :
> 
> [root@dias ricudis]# ./ls
> ./ls: error in loading shared libraries
> libc.so.6: ELF load command alignment not page-aligned
> 
> By strace-ing the execution, I notice that ld-linux.so.2 looks for its
> libraries in /lib and /usr/lib. Do I need a modified ld-linux.so.2 (to look in
> /usr/x86/...) and intel libc.so.6, and if yes what modifications should be
> done to libc.6 to correct the page-alignment problem?
> 
> Thanks!
> 
> --
> Christos Ricudis
> "Windows has detected that a gnat has farted near your computer. Press any
>  key to reboot". - anonymous in ASR.    
> 
> -- 
> 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] 3+ messages in thread

end of thread, other threads:[~1998-10-27  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-25  9:14 Em86 + glibc2 Christos Ricudis
1998-10-26 16:40 ` Jim Paradis
1998-10-27  0:31 ` Bibek Sahu

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