FS#53578 - [teamspeak] Teamspeak doesn't start with [testing] openssl

Attached to Project: Community Packages
Opened by Dario Ostuni (dariost) - Wednesday, 05 April 2017, 19:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 16 April 2017, 14:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
After installing openssl 1.1.0.e-1 teamspeak doesn't start anymore, it gives the following error:
$ teamspeak3
./ts3client_linux_amd64: ./libcrypto.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
./ts3client_linux_amd64: ./libssl.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)

Additional info:
openssl 1.1.0.e-1
openssl-1.0 1.0.2.k-3
teamspeak3 3.1.3-2
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 16 April 2017, 14:34 GMT
Reason for closing:  Fixed
Comment by Antonio Rojas (arojas) - Thursday, 06 April 2017, 10:55 GMT
So teamspeak bundles openssl but uses system Qt? This sounds very wrong to me. If it uses a system version of a library, is should also use the system versions of all dependencies of such library.
Comment by Phillip Schichtel (pschichtel) - Tuesday, 11 April 2017, 17:01 GMT
As a workaround: Downgrade the qt5-base package to 5.8.0-7
Comment by Gustavo Alvarez (sl1pkn07) - Wednesday, 12 April 2017, 15:08 GMT
@antonio. teamspeak provide a bundle Qt5, but remove in the package for use system Qt5

see https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/teamspeak3#n34
Comment by Gustavo Alvarez (sl1pkn07) - Wednesday, 12 April 2017, 16:48 GMT
https://sl1pkn07.wtf/paste/view/47484897

include again the bundle qt5 solve the problem

the patch also remove the insecure RPATH adding chrpath to makedepends and patch the executable with it

greetings
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 12 April 2017, 18:18 GMT
Ok, please test the current community-testing package.
Comment by Thomas Bächler (brain0) - Wednesday, 12 April 2017, 18:22 GMT
Removing the bundled libssl/libcrypto (which would be the right thing) does not work either.
Comment by Thomas Bächler (brain0) - Wednesday, 12 April 2017, 18:27 GMT
The latest community package crashes for me directly after starting it.
Comment by Phillip Schichtel (pschichtel) - Thursday, 13 April 2017, 17:39 GMT
Bundling qt5 libs breaks the system theme integration
Comment by Gustavo Alvarez (sl1pkn07) - Thursday, 13 April 2017, 17:45 GMT
what DE? looks ok in my KDE with breeze dark theme

http://wstaw.org/m/2017/04/13/Screenshot_20170413_194408.png

EDIT: seems break when open the TS options

https://sl1pkn07.wtf/paste/view/d38c9e45

EDIT2: incremental patch
https://sl1pkn07.wtf/paste/view/022dea02

now open the options without crash.

also remove the sed lines because do nothing in the ts3client_runscript.sh script
Comment by Phillip Schichtel (pschichtel) - Thursday, 13 April 2017, 20:35 GMT
My desktop is GNOME 3.22 themed with Adapta using the gtk2 style
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 16 April 2017, 01:30 GMT
Alright, applied Gustavo's patch. Try now. Seems to work well for me.
Comment by Matthias Lisin (matthias.lisin) - Sunday, 16 April 2017, 09:43 GMT
Seems to work now. Thanks.

While you're at it.
Why use the /usr/bin/teamspeak3 wrapper when a symlink will suffice?

Edit:
Tools -> Options -> Addons

Browsing doesn't work. Is this still related or does it deserve a seperate issue?

Edit 2:
Also this:

Installed Qt WebEngine locales directory not found at location /opt/teamspeak3/translations/qtwebengine_locales. Trying application directory...

but the directory is here: /opt/teamspeak3/qtwebengines_locales
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 16 April 2017, 14:25 GMT
I'm not using a symlink to the ts3client_runscript.sh which seems to work well enough. Also, this way I could apparently get rid of chrpath.

The qtwebengine_locales thing doesn't appear to cause the problem with the browsing not working. I moved the locales to the directory it was searching in and it apparently found it because it didn't error again but the browsing still doesn't work. Also, I believe the browsing not working probably is due to another issue.

I'm going to close this issue. Please make a new one for the browsing problems.

Loading...