LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2009, 08:48 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751

And what about the rest of the requested info. like what type of application is make_surface

Last edited by michaelk; 06-11-2009 at 08:49 PM.
 
Old 06-11-2009, 08:51 PM   #17
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Original Poster
Rep: Reputation: 1
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 39
model name : AMD Athlon(tm) 64 Processor 4000+
stepping : 1
cpu MHz : 1000.000
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni
bogomips : 1991.93
 
Old 06-11-2009, 08:55 PM   #18
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Original Poster
Rep: Reputation: 1
I really don't know what type of application it is. Is there any way so that I can find it out? Otherwise I have to wait till tomorrow to ask the person from whom I got it. Unfortunately he doesn't know anything about linux so that he can troubleshoot the problem. He just runs the file and that's the way he gave the file to me as I need the output of it.
 
Old 06-11-2009, 08:55 PM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
Were are still waiting for the rest of the requested information.
What is the output of the command
uname -a
 
Old 06-11-2009, 08:57 PM   #20
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Original Poster
Rep: Reputation: 1
2.6.9-89.EL #1 Mon Apr 20 10:23:08 EDT 2009 i686 athlon i386 GNU/Linux

Last edited by loss; 06-11-2009 at 09:00 PM.
 
Old 06-11-2009, 09:14 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
Your runing the 32 bit version (i386) which can not run a 64 bit program.
 
Old 06-11-2009, 09:17 PM   #22
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Original Poster
Rep: Reputation: 1
ok; I got you.
Thank you Michael. I will try to find out something which will be version compatible....
After that if I face some issue, hopefully will get from you....
 
Old 06-11-2009, 09:26 PM   #23
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Original Poster
Rep: Reputation: 1
what does i686 say? If it runs later x86 based systems, then it should be 64 bit processor; isn't it?
What does i686 athlon i386 GNU/Linux exactly mean?

Also the configuration says 64 processor....

Last edited by loss; 06-11-2009 at 09:27 PM.
 
Old 06-11-2009, 09:30 PM   #24
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
The processor may be 64bit, but you're running a 32bit version of linux on it, which means you can only run 32bit programmes.
 
Old 06-11-2009, 11:13 PM   #25
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by loss View Post
It is Red Hat Linux....I had to install this old version to get something running which was not compatible with other version.
My system device is showing "Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Control. Does it mean a 64bit OS?

Quote:
Originally Posted by jamescondron View Post
Yes. And what did you need a 13 year old distro to run? Thats far older than your hardware, you know, so I'd be surprised if another, more up to date distro wouldn't work.

Perhaps you ought to start from the beginning with what you're trying to do.

No.

That only means that he has a k8 64 bit capable cpu. But 64 bit cpus can also run 32 bits OSes. And that's what we are trying to determine. If he is running a 32 bits OS he will never be able to run that program. Period.


Quote:
Originally Posted by loss View Post
what does i686 say? If it runs later x86 based systems, then it should be 64 bit processor; isn't it?
It is.

Quote:
What does i686 athlon i386 GNU/Linux exactly mean?
It means that your OS has been compiled for 686 athlon processors, and hence, it's a 32 bits OS. What is confusing you is that x86_64 cpus can run x86 (32 bits) code as well. So your cpu is capable of running 64 bits applications. But right now, it's working in 32 bit mode.

You can't run 64 bits apps under a 32 bits Linux OS, it doesn't really matter which cpu do you have. That is, unless you resort to virtualization of any kind. If you find a virtual machine like vmware or virtualbox that can emulate a 64 bits cpu under a 32 bits linux, you could install a 64 bits linux version inside the VM, then you should be able to run that program inside that VM.

Or you could just delete your 32 bits RHEL, and install a 64 bits one instead, since your cpu is capable of running it.
 
Old 06-11-2009, 11:16 PM   #26
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
i92guboj: I think you're confused as to what I was asking here. You're also confused as to which distro the OP is using.
 
Old 06-11-2009, 11:27 PM   #27
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
In which sense?

He seems to want to run a 64 bits binary on a 32 bits version of RHEL, compiled for i686. Unless my brain has fussed which is perfectly possible.



Quote:
Originally Posted by loss View Post
@michaelk: Red Hat Enterprise Linux ES release 4 (Nahant Update 7)
Quote:
Originally Posted by loss View Post
2.6.9-89.EL #1 Mon Apr 20 10:23:08 EDT 2009 i686 athlon i386 GNU/Linux
Quote:
Originally Posted by loss View Post
@jamescondron: “file make_surface” is giving me “ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, statically linked, not stripped”.
Doesn't this sum up the thread? That's what I answered above at least.

Last edited by i92guboj; 06-11-2009 at 11:32 PM.
 
Old 06-12-2009, 12:51 AM   #28
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
AS i92guboj has summarised, the OP has a 32 Bit version of RHEL 4.7, trying to run a 64 Bit app. This will not work.(!)
The OP either needs to get a 32 Bit version of the app, or re-install RHEL 4.7, 64 Bit version.
 
Old 06-12-2009, 09:32 AM   #29
loss
LQ Newbie
 
Registered: Jun 2009
Posts: 16
Blog Entries: 1

Original Poster
Rep: Reputation: 1
Thanks to all of you. My problem has been resolved after using a 64bit OS.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot execute binary file kish_or Linux - Newbie 4 05-07-2008 12:53 AM
Cannot execute binary file Sigh Linux - Server 4 09-22-2006 07:43 AM
cannot execute binary file Quest101 Linux From Scratch 8 11-19-2004 01:16 PM
Cannot execute binary file pbagda Linux - General 4 01-19-2004 01:13 AM
Cannot execute binary file Nooodle007 Linux - Software 2 06-25-2003 01:25 PM


All times are GMT -5. The time now is 05:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration