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

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

Closed
DannyThomas2 opened this issue Mar 1, 2021 · 10 comments
Closed

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

DannyThomas2 opened this issue Mar 1, 2021 · 10 comments

Comments

@DannyThomas2
Copy link

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.

@mewelling
Copy link

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

@mgara
Copy link

mgara commented Mar 2, 2021

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

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

@DannyThomas2
Copy link
Author

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?

@recrsn
Copy link
Collaborator

recrsn commented Mar 3, 2021

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

@felixmosh
Copy link

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?

@panga
Copy link

panga commented Mar 7, 2021

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

@recrsn
Copy link
Collaborator

recrsn commented Mar 7, 2021

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
Copy link
Collaborator

recrsn commented Mar 8, 2021

This is done

@recrsn recrsn closed this as completed Mar 8, 2021
@StefanNedelchev
Copy link

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

@recrsn
Copy link
Collaborator

recrsn commented Oct 8, 2022

New binaries compatible with CentOS 7 are up

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

8 participants
@panga @mewelling @mgara @felixmosh @StefanNedelchev @recrsn @DannyThomas2 and others