open-discussion > bash: ./bxhabsorb: No such file or directory
Showing 1-9 of 9 posts
Display:
Results per page:
Nov 7, 2013  04:11 PM | Catarina Rua
bash: ./bxhabsorb: No such file or directory
Dear users,
I'm trying for the first time to run the QA executables on a linux machine (3.11.0-12-generic #19-Ubuntu SMP). I downloaded the tar.gz file and uncompressed it nicely.
However I cannot seem to run any executable in the bin file. I cd to the directory write for example ./bxhabsorb
and the result is no such file or directory, which is very strange.
How can I run these executables?
Thanks,
Catarina Rua
Nov 7, 2013  05:11 PM | Syam Gadde
bash: ./bxhabsorb: No such file or directory
The most likely reason is that you (or your system administrator) need
to do this (as root):

apt-get install lsb-core


If you still get the errors after running that, let me know!
Nov 7, 2013  05:11 PM | Catarina Rua
RE: bash: ./bxhabsorb: No such file or directory
Thanks so much! Works fine now...
Didnt know I was missing that.
Cheers
Jan 12, 2016  10:01 PM | Andrea Shafer - Wayne State University
RE: bash: ./bxhabsorb: No such file or directory
Hi Syam, I am experiencing the same problems as Catarina, but the 'apt-get install lsb-core' command didn't work for me. This command throws errors. 

Here are the error msgs I get. 

Reading package lists... Done
Building dependency tree
Reading state information... Done
lsb-core is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-3.13.0-71-generic : Depends: linux-image-3.13.0-71-generic but it is not going to be installed
linux-signed-image-3.13.0-71-generic : Depends: linux-image-3.13.0-71-generic (= 3.13.0-71.114) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Here are the results from the 'lsb_release -a' command.

LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Any ideas on how to troubleshoot?

Many thanks,
Andrea
Jan 13, 2016  02:01 PM | Syam Gadde
RE: bash: ./bxhabsorb: No such file or directory
It seems you have all the LSB stuff installed correctly. What is the output of:

file /path/to/bxhabsorb

(Replace /path/to/ with the actual path)
Jan 13, 2016  04:01 PM | Andrea Shafer - Wayne State University
RE: bash: ./bxhabsorb: No such file or directory
Hi Syam,

Here is the output,

/mnt/storage/Ofen_Lab/Common/Software/fmri/bxh_xcede_tools-1.11.1-lsb30.x86_64/bin/bxhabsorb: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=572ca10e24315bee4bc0afdfd8a3e6a7f058515a, stripped
Jan 13, 2016  07:01 PM | Syam Gadde
RE: bash: ./bxhabsorb: No such file or directory
And running:

/mnt/storage/Ofen_Lab/Common/Software/fmri/bxh_xcede_tools-1.11.1-lsb30.x86_64/bin/bxhabsorb

with no further arguments gives you the same error? Can you send the error again? I don't have any Ubuntu machines to test it on, but it sounds like you have everything you should need...
Jan 13, 2016  11:01 PM | Andrea Shafer - Wayne State University
RE: bash: ./bxhabsorb: No such file or directory
The command '/mnt/storage/Ofen_Lab/Common/Software/fmri/bxh_xcede_tools-1.11.1-lsb30.x86_64/bin/bxhabsorb' works! 

Initially I was the changing directory to the program's location (/mnt/storage/Ofen_Lab/Common/Software/fmri/bxh_xcede_tools-1.11.1-lsb30.x86_64/bin) and trying to run it from there. It would then throw the error, 'bxhabsorb: command not found'. This approach had worked for me when using these tools in windows.

Thanks for your help!
Andrea
Jan 14, 2016  01:01 AM | Syam Gadde
RE: bash: ./bxhabsorb: No such file or directory
Running it while you're in the bin directory should also work but on most linux systems you need to run it like this:

./bxhabsorb

Without the ./ (which refers to the current directory) most Linux environments will not find bxhabsorb because the current directory is not part of the default search path, for security reasons.


Also, if you add the full path to the bin directory to your search path:

export PATH="$PATH":/mnt/storage/Ofen_Lab/Common/Software/fmri/bxh_xcede_tools-1.11.1-lsb30.x86_64/bin

then you will be able to run bxhabsorb without specifying any directory.