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

Cant build 1.6.3 on linux #20

Open
prepconcede opened this issue Oct 13, 2021 · 1 comment
Open

Cant build 1.6.3 on linux #20

prepconcede opened this issue Oct 13, 2021 · 1 comment

Comments

@prepconcede
Copy link

prepconcede commented Oct 13, 2021

First of all, thanks for the package. It is great and made my life much easier.
Now to the point: on windows and my personal linux machine, everything works like a charm, but on my prod server with astra linux, I have problems building. The error pops up on 97% of build process and says like "In file included from /.../.../.../node_modules/audify/src/audify.cpp:4:0:
/.../.../.../node_modules/audify/src/opus_encoder.h:21:41: error: ‘constructor’ declared as an ‘inline’ field
inline static Napi::FunctionReference constructor;"
I have latest cmake and gcc installed. I believe, that it may be somehow connected to glibc version, which is 2.24 on our machine, and the warning at the start of the build says " version `GLIBC_2.29' not found". If thats correct, what am I supposed to do? If not, what can i do to fix it? Using node 14.18.0 and electtron 15.1.2 if that is relevant in any way. Thanks in advance.

@prepconcede
Copy link
Author

Update: that is 100% problem with glibc, but the thing is: there is no way I can update it on prod machine. Are there any workarounds? Can I somehow compile sources with older glibc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant