I have recently installed Ubuntu 14.04 and I am not able to execute .out files in my folder. I am adding the output of various commands that I have tried.
The file name is a_lena.out
$ls -l a_lena.out
-rwxrwxr-x 1 gaurav gaurav 20966 Aug 18 06:52 a_lena.out
$./a_lena.out
bash: ./a_lena.out: No such file or directory
$echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
I was editing some configurations like : how to permanently save the brightness settings, downloading PPA on proxy, etc. May be I have messed up the system files.
Please let me know if some additonal information is needed.
Regards,
Gaurav
PS:Please also add suitable tags for this question.
UPDATE
I received this file, which is part of my assignment, from my friend. It is output file of an OpenCV program. I haven't compiled the file at my end. Because it as output of OpenCV program, it is supposed to depend on OpenCV libraries (I to have installed those files on my machine). The output of file command is :
a_lena.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=6f48073f6000de3ec1fccc74bf5d5bbb29d24d6d, not stripped
From the discussion going on, I am getting the intuition that the file needs to be compiled at my machine and I should not expect any .out file to be executable. Please add some more clarification so that I don't do this silly mistake anymore as I am a greenhorn.
UPDATE 2
Output of ldd is :
not a dynamic executable
Output of dpkg-architecture is :
DEB_BUILD_ARCH=amd64
DEB_BUILD_ARCH_BITS=64
DEB_BUILD_ARCH_CPU=amd64
DEB_BUILD_ARCH_ENDIAN=little
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_GNU_CPU=x86_64
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
DEB_BUILD_MULTIARCH=x86_64-linux-gnu
DEB_HOST_ARCH=amd64
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=amd64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=x86_64
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=x86_64-linux-gnu
DEB_HOST_MULTIARCH=x86_64-linux-gnu