mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1320] 0.9.44.10 -> 0.9.46: libstdc++.so cannot be loaded #902
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#902
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 @uzytkownik on GitHub (May 30, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1320
I run into multiple programs failing to load C++ library under the firejail. Downgrading fixed the problem.
@netblue30 commented on GitHub (May 30, 2017):
What distribution are you using?
@uzytkownik commented on GitHub (May 30, 2017):
Gentoo with gcc 6.3.0.
@netblue30 commented on GitHub (May 30, 2017):
We had this problem about a year ago on Gentoo and we ended up commenting out "blacklist /usr/bin/gcc" line in /etc/firejail/disable-devel.inc - see #674 and #824. Go in this file and comment out (add a #) to all lines in gcc section of the file. One of them is creating the problem. If you run " find / -name libstdc++.so.6" what does it say?
@uzytkownik commented on GitHub (Jun 3, 2017):
I commented out all lines in GCC section and it didn't helped.
@netblue30 commented on GitHub (Jun 4, 2017):
Does it work if you start the sandboxes with --noprofile? (firejail --noprofile program)
@bitthief commented on GitHub (Jul 4, 2017):
I have also stumbled upon this problem on two different Gentoo Hardened systems trying to run KeePassXC. After some diagnosing (stracing the KeePassXC bin), I found that the issue comes from the fact that KeePassXC was trying to read /etc/ld.so.cache.
The fix was trivial, the keepassxc.profile contains the following line:
private-etc fontsSimply changing it resolved the issue:
private-etc ld.so.cache,fonts@Fred-Barclay commented on GitHub (Jul 5, 2017):
Thanks @bitthief. I've changed the keepassxc profile to contain
ld.so.cachein private-etc.@uzytkownik Can you test if adding keepassxc to a profile makes a difference, and if so, can you list which profiles you're having trouble with?