LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 09-02-2020, 12:57 PM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
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.)
 
Old 09-02-2020, 08:23 PM   #2
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Void Linux is... void black-clover Linux - Networking 8 11-23-2017 08:04 PM
pthread giving error: invalid conversion from ‘void* (*)(int*)’ to ‘void* (*)(void*)’ knobby67 Programming 4 05-05-2017 10:54 AM
(void)time(&cur_time); Why did the author put (void) here? e3399 Programming 3 03-28-2011 11:45 AM
void main(void) linuxanswer Programming 4 10-26-2003 12:37 AM
void foo(void) and void foo() lackluster Programming 9 02-15-2003 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration