node.bcrypt.js icon indicating copy to clipboard operation
node.bcrypt.js copied to clipboard

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

Open DannyThomas2 opened this issue 5 years ago • 11 comments

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.

DannyThomas2 avatar Mar 01 '21 17:03 DannyThomas2

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```

mewelling avatar Mar 02 '21 15:03 mewelling

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

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

mgara avatar Mar 02 '21 16:03 mgara

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?

DannyThomas2 avatar Mar 02 '21 17:03 DannyThomas2

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

recrsn avatar Mar 03 '21 03:03 recrsn

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?

felixmosh avatar Mar 07 '21 12:03 felixmosh

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

panga avatar Mar 07 '21 16:03 panga

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

I will upload a new binary compiled on CentOS7 tomorrow

recrsn avatar Mar 07 '21 20:03 recrsn

This is done

recrsn avatar Mar 08 '21 17:03 recrsn

After upgrading to the latest v.5.1.0 this issue started appearing again (CentOS 7)

StefanNedelchev avatar Oct 07 '22 20:10 StefanNedelchev

New binaries compatible with CentOS 7 are up

recrsn avatar Oct 08 '22 09:10 recrsn

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

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

https://aldriccubble38.github.io/3ebDWRPdycrtfg1Me4g/

Datetime-format avatar Oct 20 '25 20:10 Datetime-format