audify icon indicating copy to clipboard operation
audify copied to clipboard

Cant build 1.6.3 on linux

Open prepconcede opened this issue 3 years ago • 1 comments

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 avatar Oct 13 '21 07:10 prepconcede

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?

prepconcede avatar Oct 13 '21 12:10 prepconcede