LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2017, 12:41 PM   #1
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Discord Forced Update to 0.0.2 broken on All Linux


If you aren't familiar with Discord it is a communications app similar to RaidCall and TeamSpeak (and many others) originally designed for gamers but both used on it's own and influencing others because it is also like Skype or Google Hangouts in many ways. It has the distinction of having Linux, OSX, and Phone versions as well as the obligatory Windows versions. It also provides free servers and can be used for conference calls as well as one-on-ones and has quite decent security as well as "branches on the tree" such as the ability to get email notifications of activity including quoted text of messages while one is not logged in. They offer a browser only version but it is one-way communication at least for voice and/or pictures and video comm. It's 2-way text only, but still free and easy whether on Deesktop, Laptop, or phone.

The Linux versions come as a closed source blob (.tgz) or Debian package. The new version, 0.0.2 is broken because it requires libc++ (which has a long list of somewhat difficult dependencies) even on most distributions using .debs. The supposedly self-contained .tgz blob simply isn't. I've tried various methods on 3 distros and have had the same results every time. It either fails to launch at all or opens a blank window.

I'd love to hear any success stories and how it was accomplished or maybe even just a "Hell yeah! Me too " to get a feel for the impact of this problem.

Thanks
 
Old 10-14-2017, 01:55 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,695

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
You're not giving much in the way of info to solve problems. Am I disturbing a 'moan-in'? :-).

libc++ is part of qt5. That ought to install automagically in rpm or .deb based distros, and you can put symlinks to it in your main libdir in /usr and you should be ok. It's probably part of qt4 also.
 
Old 10-14-2017, 05:37 PM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
If one Googles the issue a lot of distros and people seem to be having problems with solving dependencies automatically with one common culprit being Clang. I apologize for being a bit light on info but it can be confusing since while there are rather big differences between the .deb and the .tgz blob, they both fail in the same way.

My main is Slackware and I chose the .tgz "self-contained" for the update just as I did for 0.0.1 and get the blank window. I tried to avoid the issue of dependencies for 0.0.2 since in this case they number over 12. So I tried both methods on the latest Manjaro and Ubuntu which is older than the most current by a version of LTS. I do need to update my profile since I no longer have SuSe installed. I intend to try this on Arch soon.
 
Old 10-14-2017, 05:39 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,544

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
I installed from the .deb on Debian without a single issue.
 
Old 10-15-2017, 09:19 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Quote:
Originally Posted by Timothy Miller View Post
I installed from the .deb on Debian without a single issue.
That certainly seems reasonable since the package is only offered in .deb or .tgz blob form. If it wouldn't succeed on any distro I doubt they would have forced the "upgrade". Glad to know someone had no issues, though. Thank you.
 
Old 10-19-2017, 02:56 PM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
BTW business kid characterized my thread as a "moan in" and I suppose it is in one sense in that it does rankle me when companies claim they support Linux, insist on closed source (which that's moderately OK as long as it works on almost all distros like nVidia's proprietary drivers) and disable previous versions in forced updates instead of offering options to choose fewer features OR the newly supported ones. On top of that since they provided what is supposed to be a catch-all safety net in the form of a blob, that it is incomplete and does not work on a distro (and there are currently a long list) that can't install from .debs (and even some that do) ....

Yeah I think complaints as well as workarounds are both in order. Even Steam which also has forced updates isn't that shoddy. In fact they obviously work hard on testing and support. If you're gonna do it be vast or be half vast.
 
Old 10-19-2017, 03:28 PM   #7
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,544

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
I've now installed Discord 0.2 on Debian, Fedora, q4os, Arch, and OpenSuse, and had not a single issue on any of them.
 
Old 10-20-2017, 04:24 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,695

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
Quite probably your problems result from missing dependencies. Make sure what they list is installed where it will be found and get busy with file and ldd. file <some_file> checks fdile type, and 32/64 bit. ldd /path/to/executable> checks for libs needed. Add |grep found, and you just see the missing ones.
 
Old 10-20-2017, 07:56 PM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Thanks business kid but I already knew that, both from my own experiences and what I found online from others. It is a libc++ dependency and that hangs on many systems most commonly on Clang. I am reticent to do it manually on Slackware after seeing a dozen or so dependencies in SlackBuilds.org just for a lousy comm app that is supposed to have a generic blob but does have a browser alternative. My trepidation is increased by seeing failures even on Ubuntu and Manjaro with the .deb but it does gripe me most that 0.0.1 blob worked while the forced update (a gripe in itself) does not. Responsible developers claiming Linux support are more thorough and complete. Steam is one example. I hope Discord improves with time in this regard. I see no good reason to force an update that breaks the previous version for options I and others may not want especially on something so simple as a comm app.

Microsoft pulled that ridiculous crap when they bought out Skype when it was possible to actually run the old version just by spoofing it's version name proving no need for breakage other than to exclude non-Windows folks, at least for a time. Google Hangups works on everything. I sincerely hope the Discord fiasco was an accident and not an exclusionary move al la M$.
 
Old 10-21-2017, 04:37 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,695

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
Google is inclined to bundle doubtful libs and add it's own dir to the library path. Ditto firefox.

To get over this dependency crap, I installed Mint in a VM, and can install all awkward dependencies automagically because some poor sod has to list them all while making up the .deb files. Nothing's tidy, but I don't live there, I just boot it to run whatever program is a pain in Slackware.
 
Old 10-31-2017, 02:13 PM   #11
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
@ business kid - that's perfectly valid for some users but frankly I prefer choosing between doing it myself or not doing it at all. I'd rather spend what amounts to a little more install time (not always since it is sometimes actually faster) and zero time troubleshooting and repairing. In this case I simply don't use Discord of any kind enough to warrant what might take an hour or so and with the web version I'm missing nothing I care about.

I'm mainly registering a complaint about Linux supporters who offer a so-called "universal" version that is supposed to be a self-contained blob (like Firefox) that isn't actually self-contained as well as confirming that the problem is all about libc++. A secondary gripe is forced updates that destroy previous version functionality. It is so common that as software gets "updated" it also introduces bloat, or at least features that not everyone wants. If Linux is about anything it is about Choice! as evidenced by our differing uses and policies in Slackware
 
Old 11-01-2017, 05:59 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,695

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
Glib (containing libc++) is certainly in the slackware distro and is a dependency of a lot of things. I'm surprised you haven't got it installed. That's the trouble with 'pick and choose' installs. I do them myself - I should know. But you (and I) probably can afford to 'waste' a few extra G just to avoid this kind of dependency crap. Any complaint sent will probably be ignored.

Hard disk space 'saving' is actually a leftover from the days when hard disks were limited in size. I remember thinking a 10MB hard disk was more than anyone would fill :-)). At the time, it was. I'm living on a 250G SSD - small by today's standards Have a look at my layout
Code:
bash-4.3$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        25G   12G   12G  51% /
devtmpfs        2.9G     0  2.9G   0% /dev
tmpfs           2.9G  776K  2.9G   1% /run
tmpfs           2.9G  172K  2.9G   1% /dev/shm
cgroup_root     2.9G     0  2.9G   0% /sys/fs/cgroup
/dev/sda6        25G  8.3G   16G  36% /media/hd0
/dev/sda1       976M   57M  852M   7% /boot
/dev/sda5        30G   16G   13G  56% /home
/dev/sda7       135G  116G   13G  91% /mnt/virtual
/ is 12G, and I'm unlikely to fill up the 12G spare; most people would have 50G for /; /media/hd0 is actually a dual boot Kali linux install. /home is actually bigger than /; /mnt/virtual has the VMs for virtualbox. That has win 10 - 33G; Vista - 17G; Mint - 8.7G. Rarely accessed bulk (Junk, archives, Backups) are on usb drives; I've learned the lesson of having no backups of backups.
 
Old 11-08-2017, 03:00 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Hoo-ooo--oold on thar Baba Looey! This is a FULL Install as all mine have been for almost 20 years. I am totally with you, and PV's recommendation, that hard dive space is cheap and the problems solved by having libraries already in and designed to work together from Jump Street far outweighs whatever cost one might imagine. I am uncertain as to why you think the libc++ dependency is met in 14.2 Full Install. If this were true I doubt it would be offered on Alien Bob's Slackbuilds.org with it's list of sub-dependencies or, perhaps more importantly, that the Discord install would fail. I should note here that the broken blob install (or extracting the .deb and installing manually) results in a launch but one that results in a blank window. I don't care to venture a guess as to why it reportedly fails in the exact same way on many distros with dependency resolving package managers.

Maybe Current has it and you are using Current?
 
Old 11-08-2017, 03:36 PM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,695

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
Having brought up a kid who is now a mobile & web developer looking down on his 'old man,' I can tell you that telling end users what libs he is actually using is way down his list of priorities and is the sort of useless 'technobabble' that wouldn't get near an end user unless nobody had it installed and they couldn't supply it.
 
Old 11-14-2017, 04:08 PM   #15
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,519

Original Poster
Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
So, business kid, I'd still like to know if you're using CURRENT or how it is that you have libc++ installed and more importantly think it is in a 14.2 Full Install? I'm afraid I have devolved over time and haven't written a single line of C or Assembly, shoot! or even Java in years. Perl, Python and bash scripts do pretty much everything I'm into these days. One of these days I may be bored enough to spend an afternoon getting libc++ installed but the web version ain't too bad.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Blank screen after Discord update. Gumboherpy Slackware 6 10-20-2017 07:14 PM
LXer: How to Install Discord on Ubuntu Linux LXer Syndicated Linux News 0 05-01-2017 02:50 PM
LXer: How to install Discord on Linux LXer Syndicated Linux News 0 09-14-2016 12:34 AM
[SOLVED] Kali Linux Updating - Broken Update Process Jadedkill Linux - Software 2 02-14-2015 04:46 PM
LXer: Discord At Last! Unix and Linux-y Humor LXer Syndicated Linux News 3 03-01-2009 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration