RE: [Linux-ia64] Running ia32 binaries ...

From: Vadim Furman <vadimf_at_mainsoft.com>
Date: 2000-03-03 06:35:45
The /lib/i386 directory was missing on my machine!!
Once that I copied system libraries there it started working!!
Thanks, Don

> -----Original Message-----
> From: linux-ia64-admin@linuxia64.org
> [mailto:linux-ia64-admin@linuxia64.org]On Behalf Of Don Dugger
> Sent: Thursday, March 02, 2000 10:39 AM
> To: Vadim Furman
> Cc: Don Dugger; linux-ia64@linuxia64.org
> Subject: Re: [Linux-ia64] Running ia32 binaries ...
>
>
> 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
>
>
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64
>
Received on Thu Mar 02 11:34:28 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:19:58 EST