Unable to install FreeBASIC b/c of unexecutable binary file
First time poster here, feeling a little frustrated by an install process. In short, I have an Ubuntu Intrepid slice from Slicehost on which I'm attempting to install FreeBASIC 0.20.0b. I've followed the install docs and browsed various threads on the FreeBASIC forums but feel like I have a lower-level problem than just not running the install script properly. Here's why...
The install script fails when trying to ascertain the version I'm installing. The lines it fails on are attempting to execute a file called fbc with the -version parameter. The output at that time is: Code:
./install.sh: 119: ./fbc: not found Code:
-bash: ./fbc: No such file or directory file fbc: Code:
fbc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped Code:
-rwxr-xr-x 1 myuser myuser 1418304 Aug 10 2008 fbc http://www.freebasic.net/forum/viewtopic.php?t=7916 I'm quite the Linux newbie, and even then my experience is really in setting up Apache / PHP / MySQL and DNS. However, from what I understand, I'm observing the rules to execute this file properly. (i.e. case-sensitivity, permissions, trying ./fbc and the full filepath, and attempting to sudo it) There's just some element here that eludes my meager knowledge. Any advice? |
Is the "fbc" file included in the stock package, or is it generated during the compilation process?
Post the output of "ldd ./fbc", let's see if the linking is consistent. |
"fbc" is part of the .tar.gz you get when you download FB for Linux - it's precompiled. The results I get for "ldd ./fbc" are:
Code:
not a dynamic executable |
Quote:
However, what does this return: Code:
file fbc If it's freely available, can you post a link to the exact tarball you downloaded so I can take a look myself? |
Thanks for the follow-up. The results of "file fbc" are above in the OP. The tarball is freely available from SourceForge through the link on this page:
http://www.freebasic.net/index.php/d...egory=bin&id=3 |
Quote:
Quote:
ps. I've downloaded and extracted that package, the fbc binary is executable and works without problem. I have no idea what your problem might be. If the file didn't exist neither "file" nor "ldd" would be able to parse it. I really can't understand this: Code:
-bash: ./fbc: No such file or directory |
Hmm... so I attempted a "sudo fsck" and got the following scary message:
Code:
sck 1.41.3 (12-Oct-2008) |
Quote:
|
Bummer. This is actually a VPS I have at Slicehost, so booting from a CD isn't an option. I suppose I could always backup and wipe the server if need be. Is there any way to confirm this is more than just a potential problem before doing so?
|
I have absolutely no way to know if that's indeed the problem. It's just one possibility that might very well not be.
If it's a hired vps you should rather contact their techs and see what they can do about it. |
Alrighty - I'll get in touch with them and see what happens from there. Thanks for sticking with me so long!
|
A possible Solution ... Maybe
I had the same problem using Ubuntu Natty and FreeBasic 0.21.1.
I extracted the tar file to my /home directory using peazip (linux version-note: peazip is open source) and renamed it the freebasic to save typing in terminal (using the gui). The result was that FreeBasic would not install. Same message install-standalone.sh not found!!! I then re-extracted the tar file using Ubuntu default unzip program, but did not rename it. And it installed first time in terminal without errors. This is strange... Or maybe I have been using Windows for too long. I am new to Linux - 10 days now! |
All times are GMT -5. The time now is 02:03 AM. |