All of lore.kernel.org
 help / color / mirror / Atom feed
From: Don Dugger <n0ano@valinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Running ia32 binaries ...
Date: Thu, 02 Mar 2000 18:39:22 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678204971@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678204969@msgid-missing>

Vadim-

`ld-linux.so.2' should not be a problem.  Since the path to this
library is hardcoded I modified the ELF32 code inside the kernel
to check for this file and change the path to `/lib/i386'.  As
long as you put all of your IA32 dynamic libraries in `/lib/i386'
you should be OK.

If you can send me a copy of your binary I can try it on my machine
and see if I can see what the problem is.

On Thu, Mar 02, 2000 at 11:24:09AM -0800, Vadim Furman wrote:
> Thank you for your advice.
> Using "-static" solves the problem with "hello" app.
> But I can't use this option with my real-life app.
> 
> So I proceed with dynamic option. I copied all the .so from "ldd" output
> into my LD_LIBRARY_PATH on IA64. I still have "file not found" error.
> One thing that I noticed is that path to /lib/ld-linux.so.2 is hard-coded
> inside executable. On IA64 system that points to IA64 loader. May be that is
> the problem?
> 
> > -----Original Message-----
> > From: Don Dugger [mailto:n0ano@valinux.com]
> > Sent: Thursday, March 02, 2000 9:46 AM
> > To: Vadim Furman
> > Cc: linux-ia64@linuxia64.org
> > Subject: Re: [Linux-ia64] Running ia32 binaries ...
> >
> >
> > Vadim-
> >
> > Did you configure and re-compile the kernel that you are running?
> > I don't know if IA32 was configured into the binaries on the CD.
> > Make sure that `CONFIG_IA32_SUPPORT' is turned on.
> >
> > Another problem could be with dynamic libraries.  The simplest
> > solution is to use the `-static' flag to create a static program.
> > If you want to run dynamic binaries you need to make sure that
> > all the IA32 dynamic libraries are installed on your IA64 box in
> > a separate directory and then have the environment variable
> > `LD_LIBRARY_PATH' point to that directory.
> >
> > Let me know if either of those don't solve your problem.
> >
> > On Thu, Mar 02, 2000 at 10:24:49AM -0800, Vadim Furman wrote:
> > > Hi,
> > > I'm trying to run ia32-linux binaries on a ia64 machine with
> > 64-bit kernel
> > > from Linux Word CD, and I get: "file not found" error. Are
> > there any patches
> > > to install?
> > > The program is a simplest "hello world".
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Linux-IA64 mailing list
> > > Linux-IA64@linuxia64.org
> > > http://lists.linuxia64.org/lists/listinfo/linux-ia64
> >
> > --
> > Don Dugger
> > "Censeo Toto nos in Kansa esse decisse." - D. Gale
> > n0ano@valinux.com
> > Ph: 303/938-9838
> >
> 
> 
> 
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64

-- 
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
n0ano@valinux.com
Ph: 303/938-9838



  parent reply	other threads:[~2000-03-02 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-02 17:45 [Linux-ia64] Running ia32 binaries Don Dugger
2000-03-02 18:24 ` Vadim Furman
2000-03-02 18:39 ` Don Dugger [this message]
2000-03-02 19:24 ` Vadim Furman
2000-03-02 19:35 ` Vadim Furman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678204971@msgid-missing \
    --to=n0ano@valinux.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.