Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Could Lumo not depend on glibc ? #488

Open
didibus opened this issue Jun 26, 2019 · 6 comments
Open

Could Lumo not depend on glibc ? #488

didibus opened this issue Jun 26, 2019 · 6 comments

Comments

@didibus
Copy link

didibus commented Jun 26, 2019

The dependency on glibc means that Lumo can't run on older Linux distros that have older versions of glibc which can't be upgraded. NodeJS and NPM do not have this issue and run just fine.

Would it be possible for Lumo to switch to not depending on the gnu c library? Or include its dependencies within its binary?

@didibus didibus changed the title Could Lump not depend on glibc ? Could Lumo not depend on glibc ? Jun 26, 2019
@didibus
Copy link
Author

didibus commented Jun 26, 2019

Or in my case, could it be made to support GLIBC as old as 2.12 ?

@arichiardi
Copy link
Collaborator

I have had the same problem and ended up working on a musl static mini-project (I have posted the results in here.

It was targeted at a AWS lumo layer but can be of course used just for compiling the binary.

@arichiardi
Copy link
Collaborator

Also the problem is not really lumo here but node

@didibus
Copy link
Author

didibus commented Jun 27, 2019

Hum, interesting. Why is the docker image required, if you've managed to statically link and build Lumo with musl? Shouldn't it now be a self-contained binary?

Also, when you say the issue is Node, what I find strange is that I am able to get Node installed and working? So it would appear to me Node can happily run with an even older GLIBC ?

@arichiardi
Copy link
Collaborator

Hum, interesting. Why is the docker image required, if you've managed to statically link and build Lumo with musl? Shouldn't it now be a self-contained binary?

It is but you build it yourself by pointing at lumo's folder, for now it is not provided as part of lumo's binaries.

Maybe it should indeed?

@chr15m
Copy link

chr15m commented Oct 2, 2019

Would this be solved by #374? It proposes to ship the pre-nexe compiled-js of lumo. That way people could run the lumo.js directly using their own nodejs binary.

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

No branches or pull requests

3 participants