mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2399] Flameshot - error while loading shared libraries #1597
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1597
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aberja on GitHub (Feb 11, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2399
@aberja commented on GitHub (Feb 11, 2019):
When I try to run flameshot with firejail I receive the following error:
flameshot: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directoryI tried adding
ld.so.cacheto the flameshot.profile, but that does not resolve the issue.Commenting out the following line does resolve the issue:
#private-etc fonts,ld.so.conf,resolv.conf,ca-certificates,ssl,pki,crypto-policies@SkewedZeppelin commented on GitHub (Feb 11, 2019):
@aberja is the following from #2383 still the same?
@Fred-Barclay commented on GitHub (Feb 11, 2019):
@aberja Also does this actively interfere with using Flameshot? I get a similar message on my system (also LMDE 3) but flameshot itself works well as far as I can tell.
If it doesn't actually interfere it's likely this is just cosmetic.
Cheers!
Fred
@aberja commented on GitHub (Feb 11, 2019):
Yes
@aberja commented on GitHub (Feb 11, 2019):
Yes, Unfortunately Flameshot will not start unless I comment out the line.
@chiraag-nataraj commented on GitHub (Feb 17, 2019):
Add
alternativesto theprivate-etcline. This is most likely because you're using a system where there are multiple competing versions oflibGL.so, so it ends up being a symlink to/etc/alternatives/libGL.soor something like that (the biggest culprit here is Nvidia, which has their own version oflibGL.so).@aberja commented on GitHub (Feb 17, 2019):
Appending
,alternativesto theprivate-etcline resolves the issue@chiraag-nataraj commented on GitHub (Feb 17, 2019):
@Fred-Barclay, should we add it to the official profile? Come to think of it, should we add
alternativesto allprivate-etclines? It shouldn't make anything less secure since they're all symlinks anyway (so as long as the target isn't whitelisted, it'll just be a dangling symlink).@Fred-Barclay commented on GitHub (Feb 17, 2019):
@chiraag-nataraj Probably add to all. I'll get on it if you haven't already started 😄
@chiraag-nataraj commented on GitHub (Feb 18, 2019):
I'm going to go ahead and close this since the issue seems to be resolved :)