LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bedrock Linux (https://www.linuxquestions.org/questions/bedrock-linux-118/)
-   -   cant start st from void, "due to: unable to find file (ENOENT)", but file is there. workaround pinned for now. (https://www.linuxquestions.org/questions/bedrock-linux-118/cant-start-st-from-void-due-to-unable-to-find-file-enoent-but-file-is-there-workaround-pinned-for-now-4175681424/)

Siljrath 09-02-2020 12:57 PM

cant start st from void, "due to: unable to find file (ENOENT)", but file is there. workaround pinned for now.
 
tldr: st could not run from void. pinned as workaround until fathom why.

----------------

attempting concise brevity (for a change). (ha!).

cant start st.

~ well, can start it if i specify the one from my diguan stratum (manually added old long-used devuan ceres). but from void, nope.

Code:

20200902 /home/digit %
[digit@levinrhan ~]$ brl which fish
diguan
[digit@levinrhan ~]$ st
strat: could not run
    /usr/local/bin/st
from stratum
    void
due to: unable to find file (ENOENT)
[digit@levinrhan ~]$ strat void ls -l /usr/local/bin/st
-rwxr-xr-x 1 root root 106680 Sep  2 02:32 /usr/local/bin/st
[digit@levinrhan ~]$ brl which /bedrock/cross/bin/st
void
[digit@levinrhan ~]$ ls -l /bedrock/cross/bin/st
-r-xr-xr-x 1 root root 30168 Sep  2 02:32 /bedrock/cross/bin/st
[digit@levinrhan ~]$ ls -l /bedrock/strata/void/usr/local/bin/st
-rwxr-xr-x 1 root root 106680 Sep  2 02:32 /bedrock/strata/void/usr/local/bin/st
[digit@levinrhan ~]$ ls -l /bedrock/strata/diguan/usr/local/bin/st
-rwxr-xr-x 1 root root 106680 Sep  2 05:10 /bedrock/strata/diguan/usr/local/bin/st
[digit@levinrhan ~]$ /bedrock/strata/diguan/usr/local/bin/st
/bedrock/strata/diguan/usr/local/bin/st: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
[digit@levinrhan ~]$ /bedrock/strata/void/usr/local/bin/st
/bedrock/strata/void/usr/local/bin/st: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
[digit@levinrhan ~]$ /bedrock/cross/bin/st
strat: could not run
    /usr/local/bin/st
from stratum
    void
due to: unable to find file (ENOENT)
[digit@levinrhan ~]$ strat diguan st
Fontconfig warning: "/etc/fonts/local.conf", line 86: unknown element "blank"
[digit@levinrhan ~]$ strat void st
strat: could not run
    st
from stratum
    void
due to: unable to find file (ENOENT)

i might just try pinning st to diguan for now, and see if that works sufficient for an interim workaround.

probably safer than me trying to wrestle files into place and meddling with permissions.

not that i'm 100% sure i know what i'm doing for pinning either. added to /bedrock/etc/bedrock.conf's cross-bin section (is that right?) the following:

Code:

#digit added this to try get st to run, since it says file not found from void, even though it's there.

pin/bin/st = diguan:/usr/local/bin/st, diguan:/usr/bin/st, diguan:/home/digit/bin/st,

well... a brl apply (i presumed necessary for such a config change) later, and i can once again launch st from fish and from dmenu (and presumably from wherever, whichever strata). all is well again.

still i'd love a better handle on what's going on with e.g.

Code:

[digit@levinrhan ~]$ st
strat: could not run
    /usr/local/bin/st
from stratum
    void
due to: unable to find file (ENOENT)

and what to do next to troubleshoot.

finding where the files are, their local/global, their perms... that kind of stuff... and what to do about it.


growing more familiarity with bedrock (again). :)

(& ps, these were the same manually compiled st, copypasta'd to both those strata... so it boggled my mind how suddenly it stopped working in void after working many times prior... i couldnt fathom what i did different to conjure this error ... idk if installing/uninstalling fish in void was related).

(& pps, i have a huge glut of notes taken while working out what's happening. if it'd help, i can paste it here. didnt so far, largely because it's so large (there's the bedrock report output in the middle, and another long glut of notes for an audio issue at the start (file even still called ~/audioissues), which may or may not be related (and mended in kinda janky ways that may have added to this issue, idk) i thought best to try reduce the noise to signal ratio, n aim for more concise brevity.)

ParadigmComplex 09-02-2020 08:23 PM

st requires libX11.so.6. Your diguan stratum has it installed, but your void stratum doesn't have it.

Every time you run it as a void process you get an error that the system can't find something. In some situations it tells you you're missing libX11.so.6, in other situations it doesn't have access to that and just says it can't find a file.

Every time you run it as a diguan process it works.

Your options include:

- Pinning st to diguan, as you did.
- Assuming you only have two instances, you could remove void's and Bedrock will just pick diguan's.
- Installing libX11.so.6 in your void stratum.


All times are GMT -5. The time now is 04:36 PM.