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 v10.16.3 ppc64le: GLIBCXX_3.4.20' not found #29920

Closed
flynn1973 opened this issue Oct 10, 2019 · 3 comments
Closed

node v10.16.3 ppc64le: GLIBCXX_3.4.20' not found #29920

flynn1973 opened this issue Oct 10, 2019 · 3 comments
Labels
ppc Issues and PRs related to the Power architecture.

Comments

@flynn1973
Copy link

Version: 10.16.3
Platform: Linux lpgaixmgmtlx01 3.10.0-1062.el7.ppc64le #1 SMP Thu Jul 18 20:29:07 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux

root@lpgaixmgmtlx01:/usr/local/node10/bin>./node -v
./node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./node)

this seems to be a common problem but i could not find a solution. as there is no newer gcc on redhat EL7 this is a showstopper.

@richardlau
Copy link
Member

Could you test the release candidate for 10.17.0? We're switching building on ppc64le from Ubuntu 14.04 to Centos 7 with devtoolset-6 which should avoid this requirement, see nodejs/build#1919 and nodejs/build#1918.

@richardlau richardlau added the ppc Issues and PRs related to the Power architecture. label Oct 10, 2019
@flynn1973
Copy link
Author

much better...willt try out a grafana build and report back.

root@lpgaixmgmtlx01:/usr/local/node10/bin>./node -v
v10.17.0-rc.0
root@lpgaixmgmtlx01:/usr/local/node10/bin>ldd node
        linux-vdso64.so.1 =>  (0x00003fff9d140000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00003fff9d100000)
        librt.so.1 => /lib64/librt.so.1 (0x00003fff9d0d0000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00003fff9cf40000)
        libm.so.6 => /lib64/libm.so.6 (0x00003fff9ce50000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00003fff9ce10000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00003fff9cdd0000)
        libc.so.6 => /lib64/libc.so.6 (0x00003fff9cbe0000)
        /lib64/ld64.so.2 (0x00003fff9d160000)

@flynn1973
Copy link
Author

at first an errors was thrown...

root@lpgaixmgmtlx01:/root/go/dev/src/github.com/grafana/grafana>yarn install --pure-lockfile
yarn install v1.16.0
warning You are using Node "10.17.0-rc.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error source-map@0.7.3: The engine "node" is incompatible with this module. Expected version ">= 8". Got "10.17.0-rc.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

had to use ignore-engines flag...and it went through successfully, so i would say this test was passed :-)

root@lpgaixmgmtlx01:/root/go/dev/src/github.com/grafana/grafana>yarn install --pure-lockfile --ignore-engines
yarn install v1.16.0
warning You are using Node "10.17.0-rc.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@grafana/slate-react > slate-react-placeholder@0.2.8" has unmet peer dependency "slate-react@>=0.22.0".
warning " > react-use@9.0.0" has unmet peer dependency "keyboardjs@*".
warning " > react-use@9.0.0" has unmet peer dependency "rebound@*".
warning "workspace-aggregator-56010cf5-c5a8-4e34-a117-41fb43f8f05b > @grafana/data > rollup-plugin-visualizer@0.9.2" has incorrect peer dependency "rollup@>=0.60.0 <1".
[4/4] Building fresh packages...
Done in 229.68s.
root@lpgaixmgmtlx01:/root/go/dev/src/github.com/grafana/grafana>yarn start
yarn run v1.16.0
warning You are using Node "10.17.0-rc.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
$ grafana-toolkit core:start --watchTheme
Running Core startTask task
[SASS variables generator] [nodemon] 1.18.10
[SASS variables generator] [nodemon] to restart at any time, enter `rs`
[SASS variables generator] [nodemon] watching: /root/go/dev/src/github.com/grafana/grafana/packages/grafana-ui/src/themes/**/*
[SASS variables generator] [nodemon] starting `yarn run themes:generate`
[SASS variables generator] [nodemon] running an unsupported version of node v10.17.0-rc.0
[SASS variables generator] [nodemon] nodemon may not work as expected - please consider upgrading to LTS
warning You are using Node "10.17.0-rc.0" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
$ ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts
[Webpack] Starting type checking service...
[Webpack] Using 1 worker with 2048MB memory limit
[Webpack]  10% building 0/0 modules 0 active
[Webpack] webpack is watching the files...
[Webpack]                                                                                                                                                                                                             18% building 68/76 modules 8 active ...dashboard/dashgrid/PanelPluginError.tsx
[SASS variables generator] SASS variable files generated
[SASS variables generator] [nodemon] clean exit - waiting for changes before restart                                                                                     69% building 3111/3113 modules 2 active .../grafana/public/sass/grafana.light.scssBrowserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`                                                       

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ppc Issues and PRs related to the Power architecture.
Projects
None yet
Development

No branches or pull requests

2 participants