Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnlyOffice do not launch due to GLIBCXX not found. #218238

Closed
mbledkowski opened this issue Feb 25, 2023 · 2 comments · Fixed by #218665
Closed

OnlyOffice do not launch due to GLIBCXX not found. #218238

mbledkowski opened this issue Feb 25, 2023 · 2 comments · Fixed by #218665
Labels
0.kind: bug Something is broken

Comments

@mbledkowski
Copy link

Describe the bug

When trying to launch OnlyOffice, I get the following error:

/nix/store/fgsp7brxrj78r0sc714cg1rrajwdggz4-onlyoffice-desktopeditors-7.2.0/share/desktopeditors/DesktopEditors: /nix/store/fgsp7brxrj78r0sc714cg1rrajwdggz4-onlyoffice-desktopeditors-7.2.0/share/desktopeditors/converter/.system/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /nix/store/jlx2nfpi73sjb0f3096cly5ik8arw9k9-icu4c-72.1/lib/libicuuc.so.72)

NixOS config in jupiter/etc/nixos - https://github.com/mbledkowski/dotfiles

Expected behavior

OnlyOffice launches.

Notify maintainers

@nh2
@GTrunSec

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.12-zen1, NixOS, 23.05 (Stoat), 23.05pre456790.988cc958c57`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.2`
 - channels(root): `"nixos, nixos-hardware"`
 - channels(mble): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@Misterio77
Copy link
Member

Misterio77 commented Feb 27, 2023

The first bad commit is cb57273

@Misterio77
Copy link
Member

Misterio77 commented Feb 27, 2023

Adding gcc-unwrapped.lib to runtimeInputs seems to fix it. #218665

superherointj pushed a commit that referenced this issue Feb 27, 2023
OnlyOffice is currently not launching
(#218238), due to a missing
library (libstdc++.so.6).

I used nix-locate to see which outputs provide it, and
`gcc-unwrapped.lib` is the one that makes more sense to me, but I'm not
sure if there's a better way to supply that lib.
Misterio77 added a commit to Misterio77/nixpkgs that referenced this issue Feb 27, 2023
Also moved runtimeInputs into mkDerivation, so that is overridable.

Fixes NixOS#218238
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants