[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: `ls` shows file, `bash` says "No such file" ???



Am 02. Mai, 2014 schwätzte Tom Roche so:

moin moin,

try the following to get more information.

The first will make sure it's what you think it is, which it should be.

$ type /usr/local/share/firefox-3.6.28/firefox*

The second makes sure there aren't any extended attributes in play, which
there shouldn't be.

$ lsattr /usr/local/share/firefox-3.6.28/firefox-bin

This one will tell you which libraries ths bin wants to use, so you can
see if one is missing.

$ ld /usr/local/share/firefox-3.6.28/firefox-bin

BTW, I have a system allowing i386 to be installed, but it looks to me
like the necessary libc isn't actually installed.

$ dpkg --print-foreign-architectures
i386

$ dpkg -l | grep 386
rc  libc6-i386                                          2.13-0ubuntu13
Embedded GNU C Library: 32-bit shared libraries for AMD64
ii  qemu-kvm
1.0+noroms-0ubuntu14.14                     Full virtualization on i386
and amd64 hardware
ii  syslinux-legacy
2:3.63+dfsg-2ubuntu5                        Bootloader for Linux/i386
using MS-DOS floppies

If all that doesn't help,  let us know what like 143 of
/usr/local/share/firefox-3.6.28/run-mozilla.sh is.

ciao,

der.hans

For background on my problem (and why I very much need to solve it), see http://forums.linuxmint.com/viewtopic.php?f=190&t=166506&p=855700#p855700

But the essence of the problem appears to be

me@it ~ $ /usr/local/share/firefox-3.6.28/firefox-bin
bash: /usr/local/share/firefox-3.6.28/firefox-bin: No such file or directory
[127]me@it ~ $ lsalh /usr/local/share/firefox-3.6.28/firefox-bin
-rwxr-xr-x 1 root staff 44K Mar  6  2012 /usr/local/share/firefox-3.6.28/firefox-bin
me@it ~ $ sudo /usr/local/share/firefox-3.6.28/firefox-bin
sudo: unable to execute /usr/local/share/firefox-3.6.28/firefox-bin: No such file or directory
me@it ~ $ groups
me sudo staff lpadmin

How is it possible that `ls` can list a file, but `bash` says "No such file"?

Note that everything else seems to work on this box, which FWIW is

me@it ~ $ uname -a
Linux it 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64 GNU/Linux
me@it ~ $ cat /etc/debian_version
jessie/sid

so it's not like the box is "just broken." FWIW, /usr/local/share/firefox-3.6.28/firefox-bin is 32-bit, while the rest of the box is 64-bit. I don't see how that could cause *this* problem, but that's the only thing unusual about /usr/local/share/firefox-3.6.28/firefox-bin (of which I'm aware).

desperately confused, Tom Roche <Tom_Roche@pobox.com>




--
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  Only wimps use tape backup: _real_ men just upload their important
#  stuff on ftp, and let the rest of the world mirror it. -- Linus Torvalds

Reply to: