Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am trying to run an executable make_surface file in my Linux 4.0, 32-bit machine and got the error “bash: ./make_surface: cannot execute binary file”. I don't know in which code it is written.
I have checked the file access as well which is “–rwxr-xr-x” and looks fine to me.
“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”.
Do I need to mention any path variable in .bashrc file? If so, can anybody please send me the command for this?
I am very new to linux and absolutely have no idea what is going on.
I would really appreciate if someone can help me in this regard.
@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”.
@michaelk: I'm running Red Hat Linux 4.0 if this is what you are looking for. I am trying to find out some more info; but don't know where to get it.
Red Hat 4, or RHEL 4? Because Red Hat 4 is a good 13 years old, and RHEL questions are best answered by the people you're paying all that money to for support.
As michaelk said, you can't run a 64bit executable on a 32bit machine, so either find the correct one, or give up on it
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?
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.
I am sorry if my problem is not very clear. But what I'm trying to do is to run an executable make_surface which I'm not being able to.
I've mentioned everything in my first post I know about the file, though I don't know in which code it is written.
Let me know if you need some more information. I will try to find it out.
No, I mean why exactly are you using a thirteen year old distro, to solve what problem, what exactly is this programme designed to do, is it as critical as your 13 year old ideal, where did you get this installer.
Mainly what I want to know is, why are you using a distro some six years older than your hardware (Assuming your hardware came out the first day it was released) when it already was obsolete.
So to say again; what exactly are you trying to do
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.