Hey i have question.
I have a problem with execution of program (64-bit) I'ts a bioinformatic program (http://ffas.sanfordburnham.org/ffas-cgi/cgi/download.pl?ses=&rv=&lv= [with source code]) I building a cluster of 5x orange pi one plus (http://www.orangepi.org/OrangePiOneplus/) just for education purpose and fun when I assigned PATH, given chmod permission i still get
cannot execute binary file: Exec format error
So I quess is all about architecture I start a program for AMD? How can I compile source code for ARM?
here's my cluster
Best
Hi,
Yes, it sounds like this is an executable built for the wrong architecture. You can verify what architecture an executable is built for using the "file" command: For example:
file ./u-boot.elf ./u-boot.elf: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped
If you have Debian or Ubuntu running on your Pi Plus - you should be able to install a suitable toolchain package (gcc, gfortran etc)
Normally if sources are supplied, there will also be a makefile or some build instructions - allowing you to try rebuilding natively for arm or arm64.
Sometimes it isn't as simple as just recompiling - depends whether there are any architecture specific assumptions in the source code.
Advice on re-building a specific example from source is probably a question best put to the provider.
MarkN