telegram fails to start: libQt5Network.so.5 missing

Bug #1777437 reported by marvin on 2018-06-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
telegram-desktop (Ubuntu)
Undecided
Unassigned

Bug Description

marvin@marvin-X1-18:~$ telegram-desktop
telegram-desktop: error while loading shared libraries: libQt5Network.so.5: cannot open shared object file: No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: telegram-desktop 1.2.17-1
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 18 14:38:47 2018
SourcePackage: telegram-desktop
UpgradeStatus: No upgrade log present (probably fresh install)

marvin (mrueppel) wrote :
Torsten Franz (torsten.franz) wrote :

Hi,

thank you for report this issue and that you help to make Ubuntu better.

Can you you also provide the output from

ldd /usr/bin/telegram-desktop

after you have update the system with

sudo apt update
sudo apt upgrade

Thanks,
Torsten

Download full text (10.6 KiB)

Hi

FYI: telegram from source is running (precompiled tar.gz file)

marvin@X1-18:~$ ldd /usr/bin/telegram-desktop
linux-vdso.so.1 (0x00007ffc835c1000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9f89582000)
libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1
(0x00007f9f892e3000)
libavformat.so.57 => /usr/lib/x86_64-linux-gnu/libavformat.so.57
(0x00007f9f88e8c000)
libavcodec.so.57 => /usr/lib/x86_64-linux-gnu/libavcodec.so.57
(0x00007f9f8776d000)
libswresample.so.2 => /usr/lib/x86_64-linux-gnu/libswresample.so.2
(0x00007f9f8754e000)
libswscale.so.4 => /usr/lib/x86_64-linux-gnu/libswscale.so.4
(0x00007f9f872bf000)
libavutil.so.55 => /usr/lib/x86_64-linux-gnu/libavutil.so.55
(0x00007f9f87032000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9f86e15000)
libminizip.so.1 => /usr/lib/x86_64-linux-gnu/libminizip.so.1
(0x00007f9f86c0a000)
libtgvoip.so.1.0.3 => /usr/lib/x86_64-linux-gnu/libtgvoip.so.1.0.3
(0x00007f9f86998000)
libQt5Network.so.5 => not found
libQt5Widgets.so.5 => not found
libQt5Gui.so.5 => not found
libQt5DBus.so.5 => not found
libQt5Core.so.5 => not found
libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
(0x00007f9f86520000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f9f861e7000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007f9f85ed1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f9f85cb2000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f9f85924000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9f85586000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9f8536e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9f84f7d000)
libsndio.so.6.1 => /usr/lib/x86_64-linux-gnu/libsndio.so.6.1
(0x00007f9f84d6d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9f84b69000)
libssh-gcrypt.so.4 => /usr/lib/x86_64-linux-gnu/libssh-gcrypt.so.4
(0x00007f9f848f6000)
libopenmpt.so.0 => /usr/lib/x86_64-linux-gnu/libopenmpt.so.0
(0x00007f9f8452e000)
libbluray.so.2 => /usr/lib/x86_64-linux-gnu/libbluray.so.2
(0x00007f9f842de000)
libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30
(0x00007f9f83f79000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f9f83bb8000)
libgme.so.0 => /usr/lib/x86_64-linux-gnu/libgme.so.0 (0x00007f9f8396c000)
libchromaprint.so.1 => /usr/lib/x86_64-linux-gnu/libchromaprint.so.1
(0x00007f9f83759000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f9f83549000)
libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f9f832e0000)
libcrystalhd.so.3 => /usr/lib/x86_64-linux-gnu/libcrystalhd.so.3
(0x00007f9f830c5000)
libva.so.2 => /usr/lib/x86_64-linux-gnu/libva.so.2 (0x00007f9f82ea4000)
libzvbi.so.0 => /usr/lib/x86_64-linux-gnu/libzvbi.so.0 (0x00007f9f82c19000)
libxvidcore.so.4 => /usr/lib/x86_64-linux-gnu/libxvidcore.so.4
(0x00007f9f82908000)
libx265.so.146 => /usr/lib/x86_64-linux-gnu/libx265.so.146
(0x00007f9f81c87000)
libx264.so.152 => /usr/lib/x86_64-linux-gnu/libx264.so.152
(0x00007f9f818e2000)
libwebpmux.so.3 => /usr/lib/x86_64-linux-gnu/libwebpmux.so.3
(0x00007f9f816d8000)
libwavpack.so.1 => /usr/lib/x86_64-linux-gnu/libwavpack...

Torsten Franz (torsten.franz) wrote :

Telegram is running in my system also.

You have some libraries which will not find:

libqt5network5 - Qt 5 network module
libqt5widgets5 - Qt 5 widgets module
libqt5gui5 - Qt 5 GUI module
libqt5dbus5 - Qt-5-Modul für das D-Bus-Protokoll
libqt5core5a - Qt 5 core module

Maybe you have deinstall this libs or something like that. When you install them I think it must be running with the normal package.

Best regards,
Torsten

marvin (mrueppel) wrote :

I reainstalled all the libs and they are all present but telegram canot
find them...

maybe something went wrong in the original ubuntu install. What path should
the libs be in?

On Sat, Jun 23, 2018 at 2:30 PM Torsten Franz <email address hidden>
wrote:

> Telegram is running in my system also.
>
> You have some libraries which will not find:
>
> libqt5network5 - Qt 5 network module
> libqt5widgets5 - Qt 5 widgets module
> libqt5gui5 - Qt 5 GUI module
> libqt5dbus5 - Qt-5-Modul für das D-Bus-Protokoll
> libqt5core5a - Qt 5 core module
>
> Maybe you have deinstall this libs or something like that. When you
> install them I think it must be running with the normal package.
>
> Best regards,
> Torsten
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1777437
>
> Title:
> telegram fails to start: libQt5Network.so.5 missing
>
> Status in telegram-desktop package in Ubuntu:
> New
>
> Bug description:
> marvin@marvin-X1-18:~$ telegram-desktop
> telegram-desktop: error while loading shared libraries:
> libQt5Network.so.5: cannot open shared object file: No such file or
> directory
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: telegram-desktop 1.2.17-1
> ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
> Uname: Linux 4.15.0-22-generic x86_64
> ApportVersion: 2.20.9-0ubuntu7.2
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Mon Jun 18 14:38:47 2018
> SourcePackage: telegram-desktop
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/telegram-desktop/+bug/1777437/+subscriptions
>

Torsten Franz (torsten.franz) wrote :

The path for those libs at my system are

 libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
 libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
 libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
 libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
 libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

marvin (mrueppel) wrote :
Download full text (3.5 KiB)

Thx

Ok, for some strange reasons the libs were not there. I reinstalled them
again differently and now the situation is this:

marvin@X1-18:~$ telegram-desktop
This application failed to start because it could not find or load the Qt
platform plugin "xcb"
in "".

Available platform plugins are: dxcb, eglfs, linuxfb, minimal, minimalegl,
offscreen, vnc, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

I tried to reinstall all dependencies and get this...

marvin@X1-18:~$ sudo apt-cache depends telegram-desktop
telegram-desktop
  Depends: qt5-image-formats-plugins
 |Depends: libavcodec57
  Depends: libavcodec-extra57
  Depends: libavformat57
  Depends: libavutil55
  Depends: libc6
  Depends: libgcc1
  Depends: libglib2.0-0
  Depends: libminizip1
  Depends: libopenal1
  Depends: libqt5core5a
  Depends: libqt5dbus5
  Depends: libqt5gui5
  Depends: libqt5network5
  Depends: libqt5widgets5
  Depends: libssl1.1
  Depends: libstdc++6
  Depends: libswresample2
  Depends: libswscale4
  Depends: libtgvoip1.0.3
  Depends: libx11-6
  Depends: <qtbase-abi-5-9-5>
    libqt5core5a
  Depends: zlib1g
  Recommends: fonts-open-sans
  Recommends: libappindicator3-1
marvin@X1-18:~$ sudo apt-cache depends telegram-desktop | grep '[
|]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall
install -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavcodec-extra57 : Conflicts: libavcodec57 but 7:3.4.2-2 is to be
installed
E: Unable to correct problems, you have held broken packages.
marvin@X1-18:~$

Which one would you remove?

Mobile: +41 (0) 79 339 1121
Email : <email address hidden>

On Sat, Jun 23, 2018 at 6:05 PM Torsten Franz <email address hidden>
wrote:

> The path for those libs at my system are
>
> libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
> libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
> libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
> libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
> libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1777437
>
> Title:
> telegram fails to start: libQt5Network.so.5 missing
>
> Status in telegram-desktop package in Ubuntu:
> New
>
> Bug description:
> marvin@marvin-X1-18:~$ telegram-desktop
> telegram-desktop: error while loading shared libraries:
> libQt5Network.so.5: cannot open shared object file: No such file or
> directory
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: telegram-desktop 1.2.17-1
> ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
> Uname: Linux 4.15.0-22-generic x86_64
> Apport...

Read more...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers