[TriLUG] Vexing Command Line problem

Aaron Schrab via TriLUG trilug at trilug.org
Tue Jul 31 15:42:51 EDT 2018


At 14:43 -0400 31 Jul 2018, Paul Boyle via TriLUG <trilug at trilug.org> wrote:
>bruker:/~% env: /usr/local/bn/bin/python: No such file or directory

Since that python interpreter apparently exists, the problem is likely 
with the "interpreter" for it. Are these programs perhaps for a foreign 
architecture (e.g. for 32-bit on a 64-bit system)?

Try running the "file" command on the python interpreter mentioned in 
that error. Running that on the python interpreter on my system shows:

  /usr/bin/python2.7: ELF 64-bit LSB pie executable x86-64, version 1 
  (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, 
  for GNU/Linux 3.2.0, 
  BuildID[sha1]=e56ca1ed2d9b9d858a1cdea846025376b26aa6f9, stripped

Try to verify that the interpreter shown there (in the above case that's 
/lib64/ld-linux-x86-64.so.2) exists. You should even be able to run that 
directly and get a usage message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20180731/5e47da4a/attachment.pgp>


More information about the TriLUG mailing list