-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
[0.62.rc] CentOS7 `CXXABI_1.3.8' not found for Sharp module #9829
Comments
Same here. |
like in #9167 , recompiling sharp node resolves the thing... |
Indeed, I tried it a first time but I thought I got the same error, in fact I was misleaded by the error to version updates. Thanks for the update ! (to make it clear a simple node-gyp rebuild is enough, no need to copy the .node anywhere else). |
For whatever unlucky soul finds this from Google like I did, just a little clarification to clear up the guessing I had to do to work around this: Install node-gyp like in #9167 but then cd into |
You don't have to call |
Upgrade gcc version to 5.4.0, and run: cp /usr/local/lib64/libstdc++.so.6.0.21 /lib64
cd /lib64
rm -rf libstdc++.so.6
ln -s libstdc++.so.6.0.21 libstdc++.so.6 |
Right the same problem on fresh Centos 7
|
@axis78 Thanks a lot. It was been solved. |
Same problem on RHEL7, but @axis78 help me solve this problem. THX. |
This is what I’ve used in our Redhat container: export LD_PRELOAD=/opt/app-root/src/bundle/programs/server/npm/node_modules/sharp/vendor/lib/libz.so Of course swap the bundle path for your path. But basically ships with a Libz.so so you can set this environment variable to load it up https://github.com/RocketChat/Rocket.Chat/blob/develop/.docker/Dockerfile.rhel |
A comment seems to have vanished saying it worked after trying again 😁 |
Yes - I wasn't awake and mis-posted the comment here. But originally it belonged here where you can find it now: #12788 (comment) |
Hi,
I tried to install the last version 0.62.0-rc.1 but I got an error :
Exception in callback of async function: Error: /lib64/libstdc++.so.6: version CXXABI_1.3.8 not found (required by /opt/rocketchat/rocket.chat.0.62.0 rc.1/programs/server/npm/node_modules/sharp/build/Release/sharp.node)
And indeed, this lib is not included within Centos7 :
I believe this is linked to #9711 where you removed GM to replace it by sharp. According to sharp.pixelplumbing.com/page/install#prerequisites centOS7 should works. I tried on a fresh new centOS install without any change in parameters and got the same error.
Can you be of any help for this ?
Thanks
Server Setup Information:
Steps to Reproduce:
Install on a centOS7 manually, the errors occurs whil starting main.js
Relevant logs:
The text was updated successfully, but these errors were encountered: