[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#1 by cad » 04 Oct 2023, 16:52
"env: ‘/usr/lib64/firefox-118.0/firefox’: No such file or directory" - which in this particular case is happening with the Porteus firefox module downloaded from one of the Porteus mirrors.
Even if I get into the /usr/lib64/firefox-118.0/ directory and enter './firefox' - the same thing happens. It has happened with other files as well, in different circumstances (still within 5.01 x86_64 XFCE). This is the very first time I experience something like this. Could it have something to do with the fact that AUFS was compiled with "detect direct branches access (bypassing AUFS)" (I just checked the kernel .config file). I read somewhere that it can in fact affect optimal AUFS performance in strange ways. Though, I am not sure what could cause it. Any thoughts???
cad
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
No such file or directory - but the files are right there!!!
Post#2 by Rava » 05 Oct 2023, 07:38
Code: Select all
/bin/ls -ld FILENAME
So far, none, sorry.
Yours Rava
Rava
Port 5.0.1: No such file or directory - but the files are right there!!!
Post#3 by cad » 05 Oct 2023, 12:55
Rava wrote: ↑05 Oct 2023, 07:38Can you post the output of this command of the affected files:Use /bin/ls to be sure no alias or function is used (and these could use options that interfere with the operation) but only the ls binary itself.Code: Select all
/bin/ls -ld FILENAME
Code: Select all
guest@porteus:~$ /bin/ls -ld /usr/lib64/firefox-118.0/firefox
-rwxr-xr-x 1 root root 13652 Sep 27 17:59 /usr/lib64/firefox-118.0/firefox
Code: Select all
guest@porteus:~$ /usr/lib64/firefox-118.0/firefox
bash: /usr/lib64/firefox-118.0/firefox: No such file or directory
Code: Select all
guest@porteus:~$ firefox
env: ‘/usr/lib64/firefox-118.0/firefox’: No such file or directory
Code: Select all
guest@porteus:~$ cd /usr/lib64/firefox-118.0/
guest@porteus:/usr/lib64/firefox-118.0$ ls
Throbber-small.gif application.ini browser/
crashreporter* crashreporter.ini defaults/
dependentlibs.list firefox* firefox-bin*
firefox-bin.sig firefox.sig fonts/
glxtest* gmp-clearkey/ icons/
libfreeblpriv3.so* libgkcodecs.so* libipcclientcerts.so*
liblgpllibs.so* libmozavcodec.so* libmozavutil.so*
libmozgtk.so* libmozsandbox.so* libmozsqlite3.so*
libmozwayland.so* libnspr4.so* libnss3.so*
libnssckbi.so* libnssutil3.so* libplc4.so*
libplds4.so* libsmime3.so* libsoftokn3.so*
libssl3.so* libxul.so* libxul.so.sig
minidump-analyzer* omni.ja pingsender*
platform.ini plugin-container* plugin-container.sig
precomplete removed-files update-settings.ini
updater* updater.ini vaapitest*
Also, when clicking on the firefox icon in the XWindows desktop, this action produces no visible result, as if the file firefox were not present in that directory.
It's a bit puzzling, isn't it? I would really love to find out why and how this is occurring. Thanks for your help...
cad
-
- Black ninja
- Posts: 63
- Joined: 23 Jul 2022, 07:42
- Distribution: Porteus 5.01_x86_64 Xfce
Port 5.0.1: No such file or directory - but the files are right there!!!
Post#4 by itrukrakso » 05 Oct 2023, 14:38
One possibility would be 32bit in a 64bit system, or vice versa.
try it:
Code: Select all
file /usr/bin/firefox && file -L /usr/bin/firefox
itrukrakso
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Port 5.0.1: No such file or directory - but the files are right there!!!
Post#5 by Rava » 05 Oct 2023, 15:20
Indeed, itrukrakso 's "file" command might help - when /usr/bin/firefox is a binary. When it's a script that executes a binary somewhere from inside its scripting the output is not that helpful.itrukrakso wrote: ↑05 Oct 2023, 14:38One possibility would be 32bit in a 64bit system, or vice versa.
Example:
Code: Select all
root@rava:/usr/local/bin# uname -m
x86_64
Code: Select all
root@rava:/usr/local/bin# file num
num: symbolic link to num_x86-64
Code: Select all
root@rava:/usr/local/bin# file num_x86-64
num_x86-64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, not stripped
HTH.
Yours Rava
Rava
Port 5.0.1: No such file or directory - but the files are right there!!!
Post#6 by beny » 05 Oct 2023, 15:59
beny
Port 5.0.1: No such file or directory - but the files are right there!!!
Post#7 by cad » 06 Oct 2023, 12:17
You were correct. Removed the firefox 118.0 module and replaced it with the 118.0.1 one - the problem is gone and it is all good now. It is possible the removed module was causing the problem by introducing, as itrukrakso suggested, some 32bit in a 64bit system. But if that were the case, I would not be the only one experiencing that problem. If you or anyone else has had this problem with the old firefox 118.0 module, I would like to know. Another possibility could be that I might have mistakenly built an xzm module (not the firefox one) in an ext2 filesystem and perhaps was using it in Porteus' AUFS ext4 filesystem, but at this point I can't tell for sure. Also, before the problem was resolved, I had just updated (yesterday) the Por 5.01 002-xorg module to address the security issue with libvpx and webm related codecs reported by ncmprhnsbl on Oct 3, and do not know if that could have as well played a part...
Thank you all for your help - problem has been fixed!

cad
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#8 by beny » 06 Oct 2023, 15:49
beny
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#9 by cad » 07 Oct 2023, 15:46
cad
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#10 by Rava » 07 Oct 2023, 17:52
You can access the binary via mloop, then move to /mnt/loop and look where the binary is and do a
Code: Select all
file binary
Code: Select all
uname -m
Code: Select all
guest@rava:/usr/local/bin$ file num*
num: symbolic link to num_x86-64
num_i586: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, with debug_info, not stripped
num_x86-64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, not stripped
guest@rava:/usr/local/bin$ num_i586
bash: /usr/local/bin/num_i586: No such file or directory
On my mono core Porteus 4.0 i586 system on the other hand, num links to num_i586. Because all and any mono-core systems are 32 bit only.
By doing so num works on all my systems, be they x86-64 or i586/i686. And I can copy the binaries from any of my systems to a new system and have the correct binary with me, architecture-wise. I just have to create the appropriate symlink.

Yours Rava
Rava
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#11 by cad » 08 Oct 2023, 15:36
Thank you for your post. I did not check at the time and, unfortunately, the porteus firefox 118.0 module which I downloaded from the vim mirror has been deleted from my system. I would *really* like to test as you suggested, but that original module is no longer available at the vim and other mirrors, having been replaced with the 118.0.1 one. However, for that old module to be not fully compatible with an x86_64 system (which is what I had tested it on), the only possibility would be that it was messed with at the vim server after being uploaded there, don't you think? If you are absolutely certain that there were no architecture incompatibilities with the 118.0 module that you porteus developers uploaded to that mirror, then that would be the only possibility for that old module not to have been compatible with my x86_64 system. I am very certain the firefox module I had downloaded from the vim server was meant for the x86_64 architecture - I was able to activate it in porteus 501 (XFCE) x86_64. I do not really know what to think at this point or how it could be possible to figure out this dilemma now that the old 118.0 module is gone.
cad
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#12 by Rava » 08 Oct 2023, 15:41
You can activate any module, regardless of architecture.
But now you (and all lurkers) know how to test if the binary is incompatible for your arch or not. If such thing occurs again in the future. So all is well.
Yours Rava
Rava
[SOLVED] - Port 5.0.1: No such file or directory - but the files are right there!!!
Post#13 by cad » 08 Oct 2023, 15:47
EDIT: Thank you for your work, patience and willingness to be helpful, Rava. I totally appreciate you and the rest of the Porteus Team - you guys are great!



cad