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.
Quoted 13 lines · Vadim Furman
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
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Signature · 4 lines
Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected] Ph: 303/938-9838
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".
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.
Quoted 63 lines · Vadim Furman
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_PATHon IA64. I still have "file not found" error. One thing that I noticed is that path to/lib/ld-linux.so.2is hard-coded inside executable. On IA64 system that points to IA64 loader. May be that is the problem?Quoted 40 lines
-----Original Message-----
From: Don Dugger [mailto:[email protected]]
Sent: Thursday, March 02, 2000 9:46 AM
To: Vadim Furman
Cc: [email protected]
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.
Quoted 2 lines · Vadim Furman
Hi,
I'm trying to run ia32-linux binaries on a ia64 machine with64-bit kernel
Quoted 1 line
from Linux Word CD, and I get: "file not found" error. Are
there any patches
Quoted 10 lines
to install?
The program is a simplest "hello world"._______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64Quoted 6 lines
--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected]
Ph: 303/938-9838_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Signature · 4 lines
Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected] Ph: 303/938-9838
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?
Quoted 46 lines
-----Original Message-----
From: Don Dugger [mailto:[email protected]]
Sent: Thursday, March 02, 2000 9:46 AM
To: Vadim Furman
Cc: [email protected]
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.
Quoted 2 lines · Vadim Furman
Hi,
I'm trying to run ia32-linux binaries on a ia64 machine with64-bit kernel
Quoted 1 line
from Linux Word CD, and I get: "file not found" error. Are
there any patches
Quoted 10 lines
to install?
The program is a simplest "hello world"._______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected]
Ph: 303/938-9838
The /lib/i386 directory was missing on my machine!! Once that I copied system libraries there it started working!! Thanks, Don
Quoted 99 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Don Dugger
Sent: Thursday, March 02, 2000 10:39 AM
To: Vadim Furman
Cc: Don Dugger; [email protected]
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.
Quoted 7 lines · Vadim Furman
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_PATHon IA64. I still have "file not found" error. One thing that I noticed is that path to/lib/ld-linux.so.2ishard-coded
Quoted 1 line
inside executable. On IA64 system that points to IA64 loader.
May be that is
Quoted 51 lines
the problem?
Quoted 40 lines
-----Original Message-----
From: Don Dugger [mailto:[email protected]]
Sent: Thursday, March 02, 2000 9:46 AM
To: Vadim Furman
Cc: [email protected]
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.
Quoted 2 lines · Vadim Furman
Hi,
I'm trying to run ia32-linux binaries on a ia64 machine with64-bit kernel
Quoted 1 line
from Linux Word CD, and I get: "file not found" error. Are
there any patches
Quoted 10 lines
to install?
The program is a simplest "hello world"._______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64Quoted 6 lines
--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected]
Ph: 303/938-9838Quoted 4 lines
_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected]
Ph: 303/938-9838_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64