mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3118] Can't load libstdc++.so.6 due to private-etc (Gentoo) #1955
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#1955
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 @reagentoo on GitHub (Jan 3, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3118
ERROR: ffmpeg: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directoryAffected applications: celluloid, evince, youtube-dl
My temporary fix is to remove next lines:
celluloid.profile:
evince.profile:
youtube-dl.profile:
@reagentoo commented on GitHub (Jan 3, 2020):
Adding
ld.so.cachetoprivate-etcsolve this. But except for "evince":Similar issue: https://github.com/netblue30/firejail/issues/1320
@ghost commented on GitHub (Jan 4, 2020):
@reagentoo Hi, thanks for reporting. The evince profile also has
private-lib. Can you try if that works when addinglibgcc_s.so.*,libstdc++.so.*to it?@reagentoo commented on GitHub (Jan 4, 2020):
@glitsj16 Hi.
Adding
libgcc_s.so.*,libstdc++.so.*toprivate-libdoes not helps.I've tried to add
,gccinstead of them (This dir contains this libs). So I can see pdf images in the application after that, but I still see those warnings that I showed above.@ghost commented on GitHub (Jan 4, 2020):
@reagentoo Maybe evince needs more than ld.so.cache in private-etc on gentoo. Try adding
ld.so.*to its private-etc too (besides keeping either 'libgcc_s.so.,libstdc++.so.' or 'gcc' in private-lib). That should cover ld.so.cache, ld.so.conf, ld.so.conf.d and ld.so.preload. Also, it's not uncommon to see warnings. As long as all functionality is working as expected those can safely be ignored.@ghost commented on GitHub (Jan 4, 2020):
I've gone ahead and merged https://github.com/netblue30/firejail/pull/3120. If you still have functional issues with evince on gentoo, please feel free to reopen. Thanks again for your cooperiation.