xorilog / docker-telegram

Dockerfile for a Telegram gui client
65 stars 32 forks source link

libEGL.so.1: cannot open shared object file #14

Closed Sparkenstein closed 4 years ago

Sparkenstein commented 4 years ago

I am having this error while installing. Now sure how to fix as I am not very familiar with docker.

❯ docker run --rm -it --name telegram \
       --hostname=$(hostname) \
       --device /dev/snd \
       -e DISPLAY=unix$DISPLAY \
       -v /tmp/.X11-unix:/tmp/.X11-unix \
       -v "/home/$(whoami)/.Xauthority:/home/user/.Xauthority" \
       -v /etc/localtime:/etc/localtime:ro \
       -v ~/docker/volumes/.TelegramDesktop:/home/user/.local/share/TelegramDesktop/ \
       xorilog/telegram
/usr/bin/Telegram: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory

screenshot

xorilog commented 4 years ago

Hello ! Which version are you using ?

Sparkenstein commented 4 years ago

Docker version?

Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b7f0
 Built:             Wed Mar 11 01:25:46 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b7f0
  Built:            Wed Mar 11 01:24:19 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
xorilog commented 4 years ago

No, the xorilog/telegram docker container version. Launching it without a version number uses the tag/version latest but the latest version is not always re downloaded and thus i cannot know with which version you are having this issue. As an example on a computer if i list the versions of this images available (already downloaded) i have the following:

    ~  docker images |grep telegram                                                                                                                                                                                                                                                        ✔
docker.pkg.github.com/xorilog/docker-telegram/telegram   1.9.21                 65cbbfa5507e        40 hours ago        362MB
docker.pkg.github.com/xorilog/docker-telegram/telegram   1.9.14                 b744329c7473        3 weeks ago         360MB
docker.pkg.github.com/xorilog/docker-telegram/telegram   1.9.8                  265097557403        7 weeks ago         361MB
xorilog/telegram                                         latest                 265097557403        7 weeks ago         361MB
xorilog/telegram                                         <none>                 276f6e0e5d76        2 months ago        362MB

We can see that there is a latest which is 7 weeks old but if we check the hub https://hub.docker.com/layers/xorilog/telegram/latest/images/sha256-0a7e9f8c61752bbe11372e3886381de6f26b1becd94f8957f2d7734397c45ac6?context=explore you can see that the latest tag was modified / pushed 2 days ago...

Sparkenstein commented 4 years ago

Thank you for the quick replies, If I run the give command I see this:

❯ docker images | grep telegram
xorilog/telegram    latest              2df2cbd5c81c        41 hours ago        362MB
deepb commented 4 years ago

Same issue for me. Running ArchLinux.

% docker -v

Docker version 19.03.8-ce, build afacb8b7f0

Running xorilog/telegram:1.9.21 or latest

% docker images |grep telegram

xorilog/telegram           latest              2df2cbd5c81c        7 days ago          362MB
xorilog/telegram           1.9.21              d69ba74fff84        7 days ago          362MB
xorilog commented 4 years ago

please pull again the 1.9.21 version i pushed a fix (but i did override the version to keep aligned with Telegram's versioning)

xorilog commented 4 years ago

1 Month no news, closing.