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

node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node) on Red Hat 7 ppc64le #866

Closed
redmark-redhat opened this issue Dec 12, 2019 · 2 comments

Comments

@redmark-redhat
Copy link

Building Apache Flink I'm getting a node error.

I believe it's similar to issue as #852. The plugin is installing a ppc64le version of node that's incompatible with Red Hat Linux 7.6 & 7.7 (i.e. libstdc++.so.6). I suspect this node package was compiled on Ubuntu Linux for ppc64le.

Can the package be configured to use the native/local copy of node? Or add a feature to use the native/local copy?

What is the current behavior?
.m2/repository/com/github/eirslett/node/10.9.0/node-10.9.0-linux-ppc64le.tar.gz is being copied to flink/flink-runtime-web/web-dashboard/node

/root/flink/flink-runtime-web/web-dashboard/node/node -v
/root/flink/flink-runtime-web/web-dashboard/node/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /root/flink/flink-runtime-web/web-dashboard/node/node)

Steps to reproduce.
Red Hat 7.6 or 7.7 ppc64le with working local nodejs version 10.17.0

git clone https://github.com/apache/flink.git
cd flink
mvn clean package -DskipTests
@redmark-redhat
Copy link
Author

Any thoughts on allowing the local copy of node to be used for the build process?

@eirslett
Copy link
Owner

eirslett commented Jan 2, 2020

If you want to use the native node.js binary, I suggest using exec-maven-plugin, like in this guide: https://addyosmani.com/blog/making-maven-grunt/

@eirslett eirslett closed this as completed Jan 2, 2020
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

2 participants