LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2005, 10:47 PM   #1
TimSNL
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Unhappy How to run COFF executable in current distro?


Hello, I hope someone can help me with this.

I am trying to get an old unix program running on a ubuntu PC. The output from the file command says, "80386 COFF executable". When I try and run the program I get the message, "cannot execute binary file".

I have had this program runnung on RH 6.1 and RH 7.0 with the help of iBCS but now I am having a hard time getting it to run on ubuntu (2.6.8.1-3-386) or suse 9.1 (2.6.4-52-default) or RH 9.0. I understand that this compatibility should be handeled by ABI and this program should be able to run on all these distros but it does not sem to be working out of the box.

Anyone know how to get this working? I need to get this old application running on a current linux distro, please help with some ideas on this.
 
Old 01-28-2005, 02:37 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Re: How to run COFF executable in current distro?

Quote:
Originally posted by TimSNL
Hello, I hope someone can help me with this.

I am trying to get an old unix program running on a ubuntu PC. The output from the file command says, "80386 COFF executable". When I try and run the program I get the message, "cannot execute binary file".

I have had this program runnung on RH 6.1 and RH 7.0 with the help of iBCS but now I am having a hard time getting it to run on ubuntu (2.6.8.1-3-386) or suse 9.1 (2.6.4-52-default) or RH 9.0. I understand that this compatibility should be handeled by ABI and this program should be able to run on all these distros but it does not sem to be working out of the box.

Anyone know how to get this working? I need to get this old application running on a current linux distro, please help with some ideas on this.
shot in the dark:

try setting an environment variable LD_ASSUME_KERNEL to whatever kernel it worked under - i.e. 2.4.1 or 2.2

I've had success running some older programs under the 2.6 kernel only after setting this variable.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run an executable from browser ??? dileepkk Programming 2 08-22-2004 03:13 AM
an executable that does not run jgoggel Programming 2 07-22-2004 07:54 PM
How to run programs using executable name ravykanth Linux - Newbie 1 10-05-2003 11:45 PM
run executable files ZeRo69er Linux - Software 4 08-07-2003 02:26 AM
How do I run my executable?? scott7500 Programming 2 12-30-2001 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration