Node.bcrypt.js: Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

Created on 1 Mar 2021  路  8Comments  路  Source: kelektiv/node.bcrypt.js

Hey,

So today I was building my nodejs/react project to get ready for production and I'm running into this issue:

image

npm install goes through with no problems, but this error pops up when starting the app.

Most helpful comment

This is a bug. Thanks for bringing it to my attention. It has something to do with the CI. (The base image for Travis is now Xenial perhaps)

We support base RHEL7/CentOS 7 which comes with GCC 4.8.5

I'll recompile and reupload the binaries manually and see what can be done about the CI

All 8 comments

this fixed that issue for me on ubuntu 14.04. Not sure what caused it, but feels like it should have been a major version change.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-4.9 g++-4.9 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9

Hello,
I have different environments between the develop env and the ECS.

the bcrypt_lib.node is compiled against GCC 4.9 ....
Thanks !

Hey,

I ran this command after the npm installs and it works after,

npm rebuild bcrypt --build-from-source

Its kinda cumbersome to have to keep entering that command afterwards, will there be an update that fixes this issue?

This is a bug. Thanks for bringing it to my attention. It has something to do with the CI. (The base image for Travis is now Xenial perhaps)

We support base RHEL7/CentOS 7 which comes with GCC 4.8.5

I'll recompile and reupload the binaries manually and see what can be done about the CI

I'm having the same issue on CentOS 7, this is a breaking change and the version bump of node-pre-gyp was released as patch version.

Maybe it is better to release a patch which rolls back it?

Hit the same issue. BCrypt 5.0.1 fails with Ubuntu 14.04.

I have pulled the release for now. Everyone needs to do a source compile.

I will upload a new binary compiled on CentOS7 tomorrow

This is done

Was this page helpful?
0 / 5 - 0 ratings

Related issues

youngrrrr picture youngrrrr  路  5Comments

SpaceG picture SpaceG  路  4Comments

megmut picture megmut  路  6Comments

japita-se picture japita-se  路  4Comments

raj9211 picture raj9211  路  3Comments