For Ubuntu 18.10, the current Slack desktop 3.3.3 does not launch due to outdated libnode.so
library. It outputs Segmentation fault (core dumped)
when trying to launch from terminal.
Before the software developer team rebuild or update Slack for Linux, here’s a workaround to make Slack work in Ubuntu 18.10.
1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from application launcher. When it opens, run command:
sudo updatedb && locate libnode
The command lists all available libnode.so
library in your system.
2. In my case (see the previous picture), I have /usr/share/atom-beta/libnode.so
other than the one shipped by Slack.
Run command to make a backup of libnode.so privided by Slack:
sudo mv /usr/lib/slack/libnode.so /usr/lib/slack/libnode.so.old
Then replace the library with another one:
sudo ln -s /usr/share/atom-beta/libnode.so /usr/lib/slack/libnode.so
NOTE IN THE LAST COMMAND replace /usr/share/atom-beta/libnode.so
depends on the outputs in step 1.
That’s it. Enjoy!
via: stackoverflow.com
Hi! There are several ways to work around the seg fault which occurs on Ubuntu 18.10. This seg fault was first reported by the Arch Linux community (https://github.com/electron/electron/issues/13972 – there’s a lot of discussion here) when glibc was updated from 2.27 to 2.28. Reverting to glibc 2.27 (when possible) resolves the issue. Also using the Slack Snap package is another good alternative.
Thank you. I launch slack on my computer, but slack reloads after every notification
I read about a few other people having similar issues with notifications. iirc, it had something to do with their notification daemon.
From the PR I mentioned above — For Slack users who replaced libnode.so from somewhere else (and got the app running again) but still get the occasional crash, disable your notification sound for now. It seems if Slack tries to play the notification sound for a new message, it simply restarts instead of ever getting around to playing the clip.
I have the same problem, but I have no other libnode.so on my system. I tried to compile one myself, but then slack complains about an undefined symbol. Where did you get your libnode.so from?
It worked for me fine. thanks
Thanks !
It work for me with the version of the lib from Code (MS) :
sudo mv /usr/share/code/libnode.so /usr/lib/slack/libnode.so
Its works, but, i recommend use “cp” instead “mv”
Slack has a fix for this in a support build. If you write in to them and tell them you are using glibc 2.28, you can get it.
I got the same problem with a Debian Sid install.
It was solved replacing libnode.so with one from Skype. But I got some issues like no notification sound. But it was solved when I replaced libffmpeg.so with one from Skype in the same way that it was done with libnode.so.
Now slack is fully functional again.
Worked for me, thanks
Thank you, it works!
Worked for me, except I linked to the libnode.so that came with Skype (/usr/share/skypeforlinux/libnode.so). Thanks very much!
Another solution is to uninstall the apt version of slack:
sudo apt remove slack
and then re-install it using snap instead:
sudo snap install slack
I have no clear idea *why* that works, but it has worked for me on three computers now.
It works because snaps use static compilation, so there are no external dependencies on shared libraries.
Thanks, this helped me