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

Compatibility issue for version 0.19.8 GLIBC_2.29' not found #260

Open
rchancey opened this issue Jun 24, 2022 · 4 comments
Open

Compatibility issue for version 0.19.8 GLIBC_2.29' not found #260

rchancey opened this issue Jun 24, 2022 · 4 comments

Comments

@rchancey
Copy link

rchancey commented Jun 24, 2022

I am getting this when using this with node 14.7.0. And the latest blue-button. Seems its from https://github.com/libxmljs/libxmljs.
Any suggestions on how to get past this?

Also runs great on my local Mac but when pushing to AWS lambda it fails.

Detected an unhandled exception Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/atlassian/pipelines/agent/build/node_modules/libxmljs/build/Release/xmljs.node)

@Manhydra
Copy link
Contributor

@rchancey Yes, many are experiencing this issue with [email protected]. A work-around would be to delete the current node_modules directory from your project then running npm install --build-from-source

@rchancey
Copy link
Author

@Manhydra

trying..getting this: services:1.22.0 - :bootstrap.js:55 Detected an unhandled exception Error: Could not locate the bindings file. Tried:
→ /opt/atlassian/pipelines/agent/build/node_modules/@amida-tech/blue-button-xml/node_modules/libxmljs/build/xmljs.node
→ /opt/atlassian/pipelines/agent/build/node_modules/@amida-tech/blue-button-xml/node_modules/libxmljs/build/Debug/xmljs.node

I installed the ilbxmljs early on and from source.. but I think the blue button is installing its own version internal somehow?

@rchancey
Copy link
Author

For those who are experiencing the same , we ended up having to build on the same image as AWS Lambda. We also had to fork the lib and back off a version since the current version did not run on windows. Since its native it has to all line up. WE hit every issue in this thread.. was a miserable 2 days. This parser is GEAT but its also HUGE and pushed our image size over the top. We ended up having to deploy this as a stand a lone service :-( .. but we did get it working and its ok.. its also slow :-( like > 4 seconds to parse a doc).. some work is done to make this dude faster. But for those who are using this with lambda, use the AWS image was key for us.
image: amazonlinux:2018.03.0.20220609.0-with-sources

@joshmc82
Copy link

@rchancey can you share the AMI id? I don't see the image attached. We have the XML to JSON functionality working in Lambda but can't get JSON to XML due to these issues. I can't even get it to install on my Mac. From our experience, CCD to JSON performance is reasonable if you give it enough RAM.

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

3 participants