Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to use Firejail and Links browser
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
robert1234
n00b
n00b


Joined: 09 Feb 2021
Posts: 33

PostPosted: Sun Jun 20, 2021 3:18 am    Post subject: Unable to use Firejail and Links browser Reply with quote

When I try to run the command
Code:
firejail links
, it says
Code:
links: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory
. I tried enabling the openmp use flag but it did nothing. The files
Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/32/libgomp.so.1
and
Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/libgomp.so.1
exist on the system. I tested this on my other computer (Manjaro Linux) and it works fine. Does anyone know what might be wrong?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sun Jun 20, 2021 3:32 am    Post subject: Reply with quote

Firejail creates a restricted view of the filesystem for the confined program. Most likely, libgomp.so is not visible in that restricted view, so programs that need it cannot find it. You could modify the firejail configuration to include that file in the confined view, or rebuild links not to use that library.
Back to top
View user's profile Send private message
robert1234
n00b
n00b


Joined: 09 Feb 2021
Posts: 33

PostPosted: Tue Jun 22, 2021 2:28 am    Post subject: Having trouble figuring out how to give access Reply with quote

I am trying to figure out how to give firejail access to libgomp.so.1. I made a custom profile where I added a noblacklist for it, but it did not do anything. I have been looking through the man pages and the internet but I can't seem to figure it out. Does anyone know where I can find how to do this?
Back to top
View user's profile Send private message
robert1234
n00b
n00b


Joined: 09 Feb 2021
Posts: 33

PostPosted: Wed Jun 23, 2021 7:25 pm    Post subject: Solution Reply with quote

Problem solved: In the profile, you need to comment out anything that deals with "private-etc" after playing around with it, I determined that this fixes it. Not entirely sure why this is the thing that fixes it, but it works :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum