Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-06

FPC under CentOS x64

7 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Robert Wolfe

Hi all! Just installed this and am getting the following message whenever I go to try to run any of the binaries that are included in the package (fp, ppcx64, etc):

bin]$ fpc
bash: /usr/bin/fpc: cannot execute binary file
bin]$ fp
bash: /usr/bin/fp: cannot execute binary file

This is CentOS 6.4 x86_64 with all the latest updates for my setup applied. Is there something I am issing here that I need to get FP to run?

Jonas Maebe
to Robert Wolfe
Robert Wolfe wrote 8 lines
Hi all! Just installed this and am getting the following message whenever I go to try to run any of the binaries that are included in the package (fp, ppcx64, etc): bin]$ fpc bash: /usr/bin/fpc: cannot execute binary file bin]$ fp bash: /usr/bin/fp: cannot execute binary file This is CentOS 6.4 x86_64 with all the latest updates for my setup applied. Is there something I am issing here that I need to get FP to run?

What does
file `which fpc`

show?

Jonas

Robert Wolfe
to Jonas Maebe
Jonas Maebe wrote 15 lines
On 22 Jun 2013, at 15:46, Robert Wolfe wrote: > Hi all! Just installed this and am getting the following message whenever I go to try to run any of the binaries that are included in the package (fp, ppcx64, etc): > > bin]$ fpc > bash: /usr/bin/fpc: cannot execute binary file > bin]$ fp > bash: /usr/bin/fp: cannot execute binary file > > This is CentOS 6.4 x86_64 with all the latest updates for my setup applied. Is there something I am issing here that I need to get FP to run? What does file `which fpc` show?

~]$ which fpc
/usr/bin/fpc

Jonas Maebe
to Robert Wolfe
Robert Wolfe wrote 16 lines
On 06/22/2013 08:50 AM, Jonas Maebe wrote: > On 22 Jun 2013, at 15:46, Robert Wolfe wrote: > >> bin]$ fpc >> bash: /usr/bin/fpc: cannot execute binary file >> bin]$ fp >> bash: /usr/bin/fp: cannot execute binary file >> >> This is CentOS 6.4 x86_64 with all the latest updates for my setup applied. Is there something I am issing here that I need to get FP to run? > What does > file `which fpc` > > show? ~]$ which fpc /usr/bin/fpc

And
file `which fpc`

?

Jonas

Robert Wolfe
to Jonas Maebe

~]$ file 'which fpc'
which fpc: cannot open `which fpc' (No such file or directory)

Jonas Maebe wrote 26 lines
On 22 Jun 2013, at 16:33, Robert Wolfe wrote: > On 06/22/2013 08:50 AM, Jonas Maebe wrote: >> On 22 Jun 2013, at 15:46, Robert Wolfe wrote: >> >>> bin]$ fpc >>> bash: /usr/bin/fpc: cannot execute binary file >>> bin]$ fp >>> bash: /usr/bin/fp: cannot execute binary file >>> >>> This is CentOS 6.4 x86_64 with all the latest updates for my setup applied. Is there something I am issing here that I need to get FP to run? >> What does >> file `which fpc` >> >> show? > ~]$ which fpc > /usr/bin/fpc And file `which fpc` ? Jonas_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Robert Wolfe
to Jonas Maebe: And file `which fpc` ? Jonas

When I redid the command another way, I got this:

~]$ file /usr/bin/fpc
/usr/bin/fpc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, stripped

Okay, smack me hard in the head now...

~]$ uname -a
Linux shell.rivernet.us 2.6.32-358.11.1.el6.i686 #1 SMP Wed Jun 12 01:01:27 UTC 2013 i686 i686 i386 GNU/Linux

Duh! Wrong version! Guess I need to change the titling of my CenOS 6.4 VM to read x86 :) The RHEL 6.4 VM I have is 64 bit :) Thank you for helping me to locate the error. :)

Jonas Maebe wrote 26 lines
On 22 Jun 2013, at 16:33, Robert Wolfe wrote: > On 06/22/2013 08:50 AM, Jonas Maebe wrote: >> On 22 Jun 2013, at 15:46, Robert Wolfe wrote: >> >>> bin]$ fpc >>> bash: /usr/bin/fpc: cannot execute binary file >>> bin]$ fp >>> bash: /usr/bin/fp: cannot execute binary file >>> >>> This is CentOS 6.4 x86_64 with all the latest updates for my setup applied. Is there something I am issing here that I need to get FP to run? >> What does >> file `which fpc` >> >> show? > ~]$ which fpc > /usr/bin/fpc And file `which fpc` ? Jonas_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal